10.05.2014 Views

2M30 User Manual - Frame Grabbers

2M30 User Manual - Frame Grabbers

2M30 User Manual - Frame Grabbers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DS-24-0<strong>2M30</strong> and DS-25-0<strong>2M30</strong> <strong>User</strong>’s <strong>Manual</strong> 53<br />

The Network Commands<br />

The network command is an ordinary camera command prefixed by a network prefix.<br />

Network prefixes always start with the colon character ":" and are followed immediately<br />

by the camera ID (addressing a single camera on the network), or space (addressing all<br />

cameras on the network or a Broadcast command).<br />

The camera replies to the network command only if it is addressed directly. The last line<br />

of the camera reply (error or OK message) to the network command is prefixed with the<br />

ID of the camera.<br />

Example:<br />

To return camera ID for camera a:<br />

a gci CR<br />

camera id: a<br />

a OK><br />

Special Case: Empty Network Command<br />

The empty network command is a special case of network commands. If the last<br />

command issued was not a Broadcast command, the empty network command will cause<br />

the addressed camera to output an "OK" message followed by the ">" prompt and<br />

prefixed by the network ID. If the last command issued was a broadcast command, the<br />

empty network command is used to query each camera for its READY/BUSY status.<br />

Example:<br />

To empty network command issued:<br />

a CR<br />

a OK><br />

Broadcast Commands and READY/BUSY Status<br />

Broadcast commands are commands sent to all cameras on the network at the same time.<br />

After a broadcast command is sent, and before issuing the next command, each camera on<br />

the link must be polled until a READY status is returned. A BUSY status indicates that the<br />

camera is not ready to receive the next command.<br />

To poll the status of a networked camera, send an empty network command to each<br />

camera until they each return the READY reply.<br />

Both the READY and BUSY reply consist of six characters: Carriage Return (CR), Line<br />

Feed (LF), and the network ID of the queried camera, followed by a space and either the<br />

BUSY code "0", or the READY code "1" and the prompt character ">".<br />

Example:<br />

To query command followed by a BUSY reply:<br />

DALSA 03-32-10157-02

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!