![Allied Vision Technologies Bonito Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/allied-vision-technologies/bonito/bonito_technical-manual_2903172021.webp)
Camera interfaces
Bonito Technical Manual
V2.2.1
21
At power-up the camera loads the stored parameter configuration from its non-
volatile memory and sends a start message after successful initialization to all
activated serial interfaces.
This message is e.g. similar to the following:
Bonito CL / CMC-4000 CMOS High-Speed Camera
Version: CMC.040.xx.yy
>
The command prompt character
>
signals that the camera is ready to receive
and process the next command. Each command consists of a command letter,
followed by an equality sign and a parameter value in hexadecimal number rep-
resentation. The command letter is case sensitive. Hexadecimal values are
always upper case and are 1 to 8 hex digits long. The command is activated by a
carriage return ([CR], ASCII character number 0x0D). Serial communication
operates in echo mode by default. This means that each character received by
the camera is echoed back to the sender.
Thus all serial commands (exceptions:
V
,
Y
,
a
,
?
) have the following general
syntax:
>
A=wxyz[CR]
The following example sets the exposure time to 1000 = 0x3E8 time units:
1.
The user sends the six characters
E=3E8[CR]
2.
The camera answers with nine characters (echo followed by new prompt)
E=3E8[CR][CR][LF]>
3.
A terminal program without local echo displays
E=3E8
>
The command prompt character
>
always shows that the execution of the com-
mand has finished and the camera is ready for the next command. If any error
occurred, somewhere previous to the prompt character a question mark charac-
ter
?
is sent.
Sign
Description
A
Command or parameter letter
(observe upper and lower case printing!)
=
Equality sign (0x3D)
wxyz
1-8 digits long value in hexadecimal number
representation (capital letters)
[CR]
Carriage Return (0x0D)
[LF]
Line Feed (0x0A)
Table 4: Syntax of serial commands