16 |
Camera Controls
The NOCTURN XL is controlled by a serial communication protocol that can be addressed over the USB
or the CameraLink® serial interface link. This section of the user guide provides an overview of the
command and associated syntax to control the camera as well as the serial port settings needed.
Basic Communication Settings
The serial communication should be set with the following configuration for both the USB and the
CameraLink®:
•
Number of bits:
8
•
Baud rate:
115200 bps
•
Parity:
none
•
Number of stop bits:
1 bit
•
Flow control:
none.
NOTE
The NOCTURN XL cameras are shipped with a default baudrate of
115200bps. The latter can be changed by the user by using the “baudrate”
command described in this section.
Communication Protocol
The protocol to communicate with the NOCTURN XL is based on ASCII printable messages. A carriage
return and line feed must be sent following a command. After power is initially applied to the camera
will send “{BOOT_DONE}” indicating that the camera is ready to receive commands. Once an initial
message has been sent to the camera, a “>” will appear at the console when the camera is ready to
accept new messages. The camera will answer “>OK” to all user command that are accepted and
“>Error <error message>” when an error occur.
A standard message to the camera should have the following architecture:
<Command><Optional Payload><CR>
<LF>
NOTE
With this current firmware/software release, the camera no longer echos
command by default. The echo can be re-enabled by using the “echo”
command. To enable the echo on the USB port, type
“echo usb 1<CR><LF>” at the serial interface. This can be saved as power
on default state for the camera by saving the flash configuration (type
“save flash<CR><LF>”).
7
Carriage return
8
Line feed
NVT 200-LC-4019
©2015 PHOTONIS Digital Imaging LLC
Revision: C.04
All Rights Reserved
Page 16 of 39