58
Example
In the following example, a command response is received from the Vision Sensor, and
if the received command response is not OK (0), the program is terminated.
CallProc L3% = fhrunrecvres()
IF fh_err_number <> fh_success
GOTO *CLOSE_SAMPLE
EndIF
IF L3% <> 1
GOTO *CLOSE_SAMPLE
EndIF
*CLOSE_SAMPLE
CallProc fhclose()