CONEX-LDS
Command Interface Manual
# Check and refresh the laser status
if iLaserStatus == OFF:
print 'Laser is OFF'
result = CONEXLDS_SetLaserStatus(LDS, address, ON,
displayFlag)
result, iLaserStatus = CONEXLDS_GetLaserStatus(LDS, address,
displayFlag)
# Get positions
if iLaserStatus == ON:
print 'Laser is ON'
# Get X, Y positions and light level
returnValue, positionX, positionY, lightLevel =
CONEXLDS_GetPositionsAndLightLevel(LDS, address, displayFlag)
# close communication.
CONEXLDS_Close(LDS)
print 'End of script'
19
EDH0333En1022 — 12/18
Содержание CONEX-LDS
Страница 1: ...CONEX LDS Electronic Autocollimator Command Interface Manual V1 0 x...
Страница 24: ......