Cause:
CamINI was not executed before using the laser search and tracking statements, meaning that the laser hand-eye calibration variable being used was not initialized.
Troubleshooting:
Check whether a CamINI statement was added before the laser search and tracking statements in the program and whether its hand-eye calibration variable matches the variable used by the following statements.
Solution:
Add a CamINI statement before the laser search and tracking statements, use the same hand-eye calibration parameter as the following statements, and execute the statement.
Case sharing:
The program0 program is as follows:
CamOn();
Search_LaserPos(cp0,handeye0,cp1)
Executing program0 reports error 3514.
If the program is changed to:
CamINI(eHandeyeType, handeye0)
CamOn();
Search_LaserPos(cp0,handeye0,cp1)
Running the program now does not report error 3514.