Asked — Edited
In a couple of scripts I have commands to start a camera, however, if the camera is already on, when the command to start it runs - the camera stops.
Also, in a script, I have a command to stop a camera and when that runs the camera does not stop.
My project has 2 cameras.
Has anyone else run across this?
Upgrade to ARC Pro
Synthiam ARC Pro is a cool new tool that will help unleash your creativity with programming robots in just seconds!
If I run it with the the cameras on they shut off when they should be on. I'm still unable to get Camera2 to stop in a this script though. Can anyone see what the problem might be?
Variable not defined: $IsCamera2Active. I've tried to define Camera2 with it's connection number - $Camera2 = EZB://192.168.2.94 but that doesn't work.
How do I define Camera2 ?
Click on the settings gear in the lower left corner of the camera object, then the scripts button, then the variables tab, and rename all the variables to reference your second camera.
See screen shot below: