The library provides the POUs necessary to verify that the protocol sent by a camera complies with the structure described in the following sections.
A protocol consists of:
oA header
o(Optional) one or several product data
(Each product can include a user-specific data (U) at the end of the product data).
o(Optional) additional string
(Signal that the message is complete).
NOTE: No product data and no additional string is valid. For example, a protocol providing only a header and a carriage return.
The following is an example of a valid protocol (with two products):
Vision0123000000000101PO1I1X100.5Y305.25R180.0Q98.5U10ABCDefgh12!PO1I2X200.5Y405.25R180.0Q98.5U10abcdEFGH13!A10IJKLmnop34<CR>
Content |
Description |
---|---|
Vision0123000000000101 |
Header |
PO1I1X100.5Y305.25R180.0Q98.5U10ABCDefgh12! |
Product data 1 |
PO1I2X200.5Y405.25R180.0Q98.5U10abcdEFGH13! |
Product data 2 |
A10IJKLmnop34 |
Additional string |
<CR> |
Carriage return |