The CameraCommand event is generated by a camera and is cameradriver
specific. See details for supported commands in actual cameradriver
documentation. Example 1: Bypassing commands from one camera to another
def Handle_System_CameraCommand(Camera,Cmd,Params):
#
# Camera = VT_BSTR
# Cmd = VT_BSTR
# Params = VT_BSTR
#
print 'Handle_System_CameraCommand',Camera,Cmd,Params
cam=GetCamera(Camera)
if cam.index==0:
cam=GetCamera("1")
print 'bypassing to %s...'%cam.name
print cam.executeCmd(Cmd,Params)
|