Cmd
CameraAPI.Cmd( board_id, command, expected_reply );
CameraAPI.Cmd( board_id, command, arg, expected_reply );
CameraAPI.Cmd( board_id, command, arg1, arg2, expected_reply );
CameraAPI.Cmd( board_id, command, arg1, arg2, arg3, expected_reply );
CameraAPI.Cmd( board_id, command, arg1, arg2, arg3, arg4, expected_reply );
int board_id Board to send the command to: CameraAPI.PCI_ID (pci board), CameraAPI.TIM_ID (timing board), or CameraAPI.UTIL_ID (utility board).
int command A valid pci, timing, or utility board command. See command list for details.
int arg/1/2/3/4 (optional) An argument for the specified command. See command list for details.
int expected_reply The expected reply for the specified command. For most controller commands this will be CameraAPI.DON. See the command details for details.
None
Sends a command to the pci, timing, or utility board. Throws an owl.cameraAPI.ReplyException if the expected reply doesn't match the actual reply from the board. Throws java.lang.Exception if an error occurs. All exceptions can be caught using a try/catch block.