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
-
Complete relevant settings in Mech-Eye Viewer:
-
Connect to laser profiler in Mech-Eye Viewer;
-
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
-
Drag the Step to the graphical programming workspace.
-
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. -
Find the camera to connect in the list, hover the cursor over the target camera ID, and click to connect to the camera.
If becomes , the camera is connected successfully. -
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.
-
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
-
Drag the Step to the graphical programming workspace and enable Virtual Mode under Parameters in the parameter configuration panel.
-
Click under Data Path.
-
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. -
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.
|
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.
|
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:
|
||
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:
-
The cable connection between the camera, IPC, and router/switch was abnormal.
-
Firewalls or antivirus software were not shut down.
-
The IP address of the camera was modified.
-
Multiple Ethernet ports of the computer had IP addresses in the same subnet.
Solutions:
-
Make sure that the cables are properly connected.
-
Disable the computer firewall or add Mech-MSR to the computer firewall whitelist, then disable the antivirus software.
-
Make sure that the camera’s IP address is correct.
-
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-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-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:
-
Insufficient camera exposure.
-
The target object is outside the sensor head’s working distance.
-
The sensor head’s position is incorrect.
Solutions:
-
Adjust the camera exposure settings or increase the lighting.
-
Ensure the target object is within the sensor head’s working distance.
-
Calibrate or adjust the sensor head’s position.
CV-E0261
Error: Failed to connect to the data acquisition device.
Possible causes:
-
The data acquisition device was not connected to the IPC.
-
The entered IP address did not correspond to a Mech-Eye device.
Solutions:
-
Ensure the data acquisition device is connected to the IPC.
-
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:
-
The camera firmware version is incompatible with the Mech-Eye API version.
-
The camera in use does not support this operation.
Solutions:
-
Ensure the firmware version matches the software version.
-
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:
-
“Data Acquisition Status” was not enabled in the “Parameters” section.
-
The data acquisition device encountered an error.
Solutions:
-
Ensure that “Data Acquisition Status” is enabled.
-
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.