54 Spyder2 User’s Manual
03-032-10091-06 Teledyne DALSA
Example: change network ID of camera with serial number abcd to 1
: sci 1 abcd
Note: each camera must be polled following use of a broadcast command.
The Network Commands
The network command is an ordinary camera command prefixed by a network prefix.
Network prefixes always start with the colon character ":" and are followed immediately
by the camera ID (addressing a single camera on the netw ork), or space (addressing all
cameras on the netw ork or a Broadcast command).
The camera replies to the network command only if it is addressed directly. The last line
of the camera r eply (error or OK message) to the netw ork command is pr efi xed w ith the
ID of the camera.
Example: return camera ID for camera a
:a gci
camera id: a
a OK>
Special Case: Empty Network Command
The empty network command is a special case of network commands. If the last
command issued was not a Broadcast command, the empty network command will cause
the addressed camera to output an "OK" message followed by the ">" prompt and
prefixed by the network ID. If the last command issued was a broadcast command, the
empty network command is used to query each camera for its READY/ BUSY status.
Example: empty network command issued
:a CR
a OK>
Broadcast Commands and READY/BUSY Status
Broadcast commands are commands sent to all cameras on the network at the same time.
After a broadcast command is sent, and before issuing the next command, each camera on
the link must be polled until a READY status is returned. A BUSY status indicates that the
camera is not r eady to recei v e the next command.
To poll the status of a networked camera, send an empty network command to each
camera until they each r et urn the REA DY repl y.
Both the READY and BUSY reply consist of six characters: Carriage Return (CR), Line
Feed (LF), and the network ID of the queried camera, followed by a space and either the
BUSY code "0", or the READY code "1" and the prompt character ">".
Example: query command followed by a BUSY reply