
Jayutmb
USA
Asked
— Edited

So I am trying to get my camera to restart automatically when connection is lost and reestablished... I have script running just fine to get connection back.. however I cant get the script to restart camera back up after connection is back.. I am trying this with no luck..
:loopcam
if(IsCameraActive=0)
repeatuntil(iscameraactived=1)
ControlCommand("Camera", CameraStart)
sleep(1000)
endrepeatuntil
endif
sleep(10000)
goto(loopcam)
This should work:
Code:
In my init script, I actually stop and restart the camera because it is a workaround to the grid lines bug.
My script is:
Code:
Since this runs any time I re-connect to the EZ-B, I don't need to loop it.
Alan