![Basler Vision Technologies Sprint Series Скачать руководство пользователя страница 210](http://html1.mh-extra.com/html/basler-vision-technologies/sprint-series/sprint-series_user-manual_2707562210.webp)
Configuring the Camera
200
Basler sprint Mono Cameras
7.3.1.1
Error Checking and Responses
ACK/NAK
When the camera receives a frame, it checks to see if the order of the bytes in the frame is correct.
If the FTF field indicates that the frame includes a BCC, the camera checks to see if the XOR sum
of the relevant frame fields matches the block check character. The camera also checks to see if
the number of bytes in the data field is equal to the number specified in the DataLen field.
If all checks are correct, an ACK is sent to the host. If any check is incorrect, a NAK is sent.
Byte Timeouts
The camera checks the time between the receipt of each byte in the frame. If the time between any
two bytes exceeds 0.5 seconds, the camera enters a “garbage state” and discards any more
incoming bytes. The camera remains in this state until it sees a new BFS.
Read Commands
In the normal case, when a read command is sent to the camera, the camera responds with an ACK
and a returned frame. The returned frame will contain the data requested.
If the camera receives a read command with an unknown or invalid address in the Address field of
the frame, it will respond with an ACK but will send no frame.
If the host sends a read command and gets no ACK/NAK, the host can assume that no camera is
present or the camera is in a “garbage state” for some reason.
If the host sends a read command and gets an ACK/NAK but does not receive a frame within 500
ms, the host can assume that there was a problem with the read command.
Write Command
In the normal case, when a write command is sent to the camera, the camera responds with an
ACK.
If the camera receives a write command with an unknown or invalid address in the Address field of
the frame, it will respond with an ACK but will not perform the write.
After a write command has been issued by the host, the host can verify the write by issuing a
corresponding read command and checking that the returned data is as expected (unless the
address is “write-only”). The host can read the Camera Status fields in the Camera Status inquiry
register (see
) and check the returned data to see if an error condition has been detected.
Note
For many of the write commands listed in the tables on
through
, only data within a specified range or a specified group of vales is
valid. If the data in a write command is not within the allowed range or
specified group of allowed values, the camera
will not
execute the write
command.
Содержание Sprint Series
Страница 4: ......
Страница 10: ...Table of Contents vi Basler sprint Mono Cameras...
Страница 42: ...Physical Interface 32 Basler sprint Mono Cameras Fig 14 Camera Frame Grabber Interface...
Страница 48: ...Physical Interface 38 Basler sprint Mono Cameras...
Страница 76: ...Line Acquisition Modes 66 Basler sprint Mono Cameras...
Страница 94: ...Exposure Start and Exposure Time Control 84 Basler sprint Mono Cameras...
Страница 230: ...Revision History 220 Basler sprint Mono Cameras...
Страница 232: ...Feedback 222 Basler sprint Mono Cameras...