3D Laser Profiler

Description

This Step, which is generally the first step in a measurement project, is used to acquire the scan data. With this Step, you can connect to Mech-Eye 3D Laser Profiler (hereinafter referred to as “laser profiler”) to acquire data, or read locally saved data in the virtual mode.

Connect to Laser Profiler to Acquire Data

Preparation

  1. Complete hardware setup of the 3D measurement system.

  2. Complete relevant settings in Mech-Eye Viewer:

    1. Connect to laser profiler in Mech-Eye Viewer;

    2. Adjust parameters and save parameter groups in Profile Mode and Scan Mode.

The version of Mech-Eye Viewer should be 2.3.4 or above.

Workflow

  1. Drag the Step to the graphical programming workspace.

  2. Under Parameters, find Camera ID, click Select camera to open the Choose the camera and calibration parameter group to use window.

    In this context, camera refers to the laser profiler.
  3. Find the camera to connect in the list, hover the cursor over the target camera ID, and click 3d laser profiler icon to connect to the camera.

    If 3d laser profiler icon becomes 3d laser profiler icon 1, the camera is connected successfully.
  4. After the camera is connected successfully, you can select the calibration parameter group in the drop-down list of Calibration Parameter Group and then click OK in the lower right corner of the window. Parameters will be automatically updated in the Parameters section.

  5. Run this Step to connect to the laser profiler and acquire data.

Reading Locally Saved Data

Preparation

Acquire and save data with a laser profiler. For related operations, refer to Acquire and View Data and Save Data instructions.

Workflow

  1. Drag the Step to the graphical programming workspace and enable Virtual Mode under Parameters in the parameter configuration panel.

  2. Click 3d laser profiler flod icon under Data Path.

  3. In the pop-up window, browse to and select the folder where the data is saved and then click Select Folder.

    If the selected folder does not contain valid data of the virtual camera, a Virtual Camera Assistant window will pop up. You need to manually select the path to the folder that contains the MRAW files of the virtual camera. Note that you should use Mech-Eye Viewer (version 2.3.4 or above) to save the MRAW files of the virtual camera.
    virtual camera assistant
  4. Run this Step to read the locally saved data.

Parameter Description

Camera Type

Select the type of laser profiler you want to use. Currently, only LNXCamera is supported, i.e., Mech-Eye 3D Laser Profilers.

Basic Settings

Parameter Description

Virtual Mode

It is not checked by default. If you need to run the project with the locally saved data, you can enable the virtual mode, and perform Virtual Settings.

Camera ID

Confirm the ID of the camera to be connected. Click the Select camera button, and select the camera to connect. Please refer to Workflow for detailed instructions.

Calibration Parameter Group

The parameter group used by the selected laser profiler.

Configuration Parameter Group

The laser profiler acquires data according to the parameters in the parameter group configured in the Mech-Eye Viewer.

Num of Reconnection Attempts

Use this parameter to specify the maximum number of attempts to reconnect the camera if the software fails to connect to the camera within the timeout period. The default value is 3.

IP Address

IP address of the laser profiler.

This parameter will be automatically updated after the laser profiler is connected. Do not make any modification, otherwise the laser profiler will be disconnected.

Trigger Settings

Parameter Description

Data Acquisition Status

When Data Acquisition Trigger Source is External, this parameter determines whether the laser profiler will be triggered by externally input signals to acquire data.

Once this parameter is enabled, the laser profiler will be in the data acquisition status, and the parameter groups cannot be modified.

When this parameter is disabled, cached image data will be automatically cleared.

Timeout Period

The timeout period for data retrieval. The timeout should be greater than or equal to the time required for one round of data acquisition to ensure that the software can receive complete data within the timeout period.

Auto-Filled Parameters

After a camera is connected, the following parameters are automatically updated according to the actual situation and cannot be modified in Mech-MSR. If you do need to adjust the parameters, however, you can connect the corresponding laser profiler in Mech-Eye Viewer and configure these parameters.

  • Data Acquisition Trigger Source

    Select the method for triggering a round of data acquisition, External or Software.

    See Methods for Triggering Data Acquisition for detailed instructions.

  • Line Scan Trigger Source

    Select the method for triggering one line scan, Encoder or Fixed rate.

    See Methods for Triggering Data Acquisition for detailed instructions.

  • Scan Line Count

    The number of profiles needed to generate one intensity image or depth map.

    Please refer to Scan Line Count for detailed instructions.

  • Y-Axis Resolution

    The resolution in the Y direction, which is the distance between two neighboring points along the travel direction of the target object.

    See Point Cloud Y-Axis Resolution for detailed instructions.

  • Trigger Interval

    The number of trigger signals needed for scanning one line. Only visible when Line Scan Trigger Source is set to Encoder.

    Please refer to Trigger Interval for detailed instructions.

Virtual Settings (Displayed after “Virtual Mode” is Enabled)

Parameter Description

Playback Mode

This parameter is used to specify the order to read the images.

Options:

  • Sequential (default): Read the images in the order of the images in the folder.

  • Repeat one: Read the current image repeatedly.

  • Repeat all: Read all images in the order of the images in the folder and then read them from the beginning after all images are read.

  • Random: Read images randomly.

Please select the mode according to the image reading order you need.

Current Frame Name

This parameter is used to read the name of the currently loaded image.

Other Settings

This parameter group is displayed differently under different settings. Refer to the descriptions according to your specific situation.
Parameter Description

Data Transfer Wait Time

The time for the laser profiler to transfer data to Mech-MSR after the scan is completed.

Heartbeat Interval

The interval between heartbeat signals sent by the laser profiler to ensure a stable and real-time connection.

Use Initial Encoder Value

Once this option is enabled, the initial encoder value will be used to generate the point cloud.

Save Encoder Values to JSON

Once this option is enabled, the encoder values will be saved to a JSON file.

Cache Settings

This group of parameters is displayed only when Data Acquisition Trigger Source is External.
Parameter Description

Maximum Cached Data

This parameter is used to show the maximum data volume that can be cached. With each scan, the cached data can generate depth maps, intensity images, and point clouds. When this value is exceeded, you can process the cached data using the Cache Overflow Solution or manually clear the cache.

Cache Overflow Solution

This parameter is used to select the solution to the cache overflow.

Options: DiscardOldest, DiscardNewest.

Clear Cache

This parameter is used to clear cached image data manually.

Output Description

The output of this Step is the surface data including depth map and intensity image that can be used as input to other Steps.

Troubleshooting

CV-E0201

Error: Failed to find camera XXX.

Possible causes:

  1. The cable connection between the camera, IPC, and router/switch was abnormal.

  2. Firewalls or antivirus software were not shut down.

  3. The IP address of the camera was modified.

  4. Multiple Ethernet ports of the computer had IP addresses in the same subnet.

Solutions:

  1. Make sure that the cables are properly connected.

  2. Disable the computer firewall or add Mech-MSR to the computer firewall whitelist, then disable the antivirus software.

  3. Make sure that the camera’s IP address is correct.

  4. Disable other Ethernet ports on the computer that are not used for camera connections, then run Mech-MSR and reconnect the camera.

If none of the above steps work, and the camera still cannot be detected, try power-cycling the camera.

CV-E0202

Error: Camera XXX has no access permission.

Solution: Please check the logs and ensure that the network and camera firmware are functioning properly before trying again. If the issue persists, please contact Technical Support.

CV-E0203

Error: Failed to connect to the camera: XXX. The camera is not responding.

Possible cause: The IP and the port of the camera are incorrect.

Solution: Please check if the IP and the port of the camera are correct.

CV-E0204

Error: Failed to connect to the camera: XXX. Camera is connected by a third-party software through the GenICam interface.

Solution: Ensure the camera is not connected by a third-party software through the GenICan interface.

CV-E0205

Error: The camera firmware of the current version is not supported.

Solution: Please upgrade the camera firmware before using Mech-Eye Viewer to connect to the camera.

CV-E0206

Error: Failed to initialize the data acquisition device due to an internal error.

Solution: Please contact Technical Support.

CV-E0207

Error: No data acquisition device is connected.

Solution: Please connect a device first.

CV-E0208

Error: Failed to connect to the data acquisition device.

Solutions:

  • Make sure the data acquisition device is available for connection.

  • Make sure the IPC and the data acquisition device are on the same subnet.

  • Close all software that may be occupying the data acquisition device.

  • Turn off the firewall, or allow Mech-MSR through the firewall.

CV-E0210

Error: Cannot use an external device to trigger the project to run as no real camera is connected.

Possible cause: In the Step for image acquisition, the “Virtual Mode” was enabled, and thus the project used previously saved data instead of acquired data in real time.

Solution: In the Step for image acquisition, disable the “Virtual Mode” and connect the software to a real camera.

CV-E0211

Error: Failed to obtain the parameters of the data acquisition device due to an internal error.

Solution: Please contact Technical Support.

CV-E0212

Error: An internal error occurred.

Solution: Please contact Technical Support.

CV-E0213

Error: Failed to read the camera parameters from files due to an internal error.

Solution: Please contact Technical Support.

CV-E0214

Error: Failed to write the camera parameters into files due to an internal error.

Solution: Please contact Technical Support.

CV-E0215

Error: Failed to process the image due to an internal error.

Solution: Please contact Technical Support.

CV-E0218

Error: The depth values of images are all NaN.

Possible causes:

  1. Insufficient camera exposure.

  2. The target object is outside the sensor head’s working distance.

  3. The sensor head’s position is incorrect.

Solutions:

  1. Adjust the camera exposure settings or increase the lighting.

  2. Ensure the target object is within the sensor head’s working distance.

  3. Calibrate or adjust the sensor head’s position.

CV-E0261

Error: Failed to connect to the data acquisition device.

Possible causes:

  1. The data acquisition device was not connected to the IPC.

  2. The entered IP address did not correspond to a Mech-Eye device.

Solutions:

  1. Ensure the data acquisition device is connected to the IPC.

  2. Verify that the entered IP address corresponds to a Mech-Eye device.

CV-E0262

Error: The data acquisition device is offline.

Possible cause: Network connection failed.

Solution: Check the network connection and try again.

CV-E0263

Error: The operation is not supported.

Possible causes:

  1. The camera firmware version is incompatible with the Mech-Eye API version.

  2. The camera in use does not support this operation.

Solutions:

  1. Ensure the firmware version matches the software version.

  2. Verify that the camera in use supports the intended operation.

CV-E0264

Error: The input device parameter value is outside of the valid range.

Solution: Ensure the entered value is within the valid range.

CV-E0265

Error: An internal software error occurred.

Possible cause: Unknown errors occurred in Mech-MSR.

Solution: Please try restarting the camera and reconnecting. If the issue persists, please contact Technical Support.

CV-E0266

Error: The image data is empty.

Possible causes:

  1. “Data Acquisition Status” was not enabled in the “Parameters” section.

  2. The data acquisition device encountered an error.

Solutions:

  1. Ensure that “Data Acquisition Status” is enabled.

  2. Check the device for errors.

CV-E0267

Error: An internal software error occurred.

Possible cause: Unknown errors occurred in Mech-MSR.

Solution: Please try restarting the camera and reconnecting. If the issue persists, please contact Technical Support.

CV-E0268

Error: Failed to execute the file reading or writing operations due to an internal error.

Solution: Please contact Technical Support.

CV-E0269

Error: Data retrieval or device connection has timed out.

Possible cause: The time to retrieve data or connect to the data acquisition device exceeded the set “Timeout Period.”

Solutions:

  • Ensure that the image data can be retrieved correctly in Mech-MSR.

  • Set an appropriate “Timeout Period” value.

CV-E0270

Error: An internal error occurred in the data acquisition device.

Solution: Please try restarting the camera and reconnecting. If the issue persists, please contact Technical Support.

CV-E0271

Error: An internal error occurred in the data acquisition device.

Solution: Please try restarting the camera and reconnecting. If the issue persists, please contact Technical Support.

CV-E0272

Error: Data acquisition has not been started.

Possible cause: “Data Acquisition Status” was not enabled in the “Parameters” section.

Solution: Ensure that “Data Acquisition Status” is enabled.

CV-E0273

Error: Failed to connect to the data acquisition device due to an internal error.

Solution: Please contact Technical Support.

CV-E0274

Error: Failed to connect to the data acquisition device due to an internal error.

Solution: Please contact Technical Support.

CV-E0275

Error: An internal error occurred in the data acquisition device.

Solution: Please try restarting the camera and reconnecting. If the issue persists, please contact Technical Support.

CV-E0276

Error: An internal error occurred in the data acquisition device.

Solution: Please try restarting the camera and reconnecting. If the issue persists, please contact Technical Support.

CV-E0277

Error: An internal software error occurred.

Possible cause: Unknown errors occurred in Mech-MSR.

Solution: Please try restarting the camera and reconnecting. If the issue persists, please contact Technical Support.

CV-E0278

Error: Failed to connect to the data acquisition device due to an internal error.

Solution: Please contact Technical Support.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.