65
Piranha2 User’s Manual
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 network), or space (addressing all
cameras on the network or a Broadcast command).
The camera replies to the network command only if it is addressed directly. The last line
of the camera reply (error or OK message) to the network command is prefixed with 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 ready to receive the next command.
To poll the status of a networked camera, send an empty network command to each
camera until they each return the READY reply.
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 ">".
03-32-00493-11
DALSA
Содержание P-2 Series
Страница 42: ...42 Piranha2 User s Manual 03 32 00493 11 DALSA ...
Страница 50: ...50 Piranha2 User s Manual 03 32 00493 11 DALSA ...
Страница 62: ...62 Piranha2 User s Manual 03 32 00493 11 DALSA ...