Streaming Data from Serial Box


Serial output ports

There are two DB9 Female ports on the bacnk of serial box. One is RS232, another one is RS422.


The details of streaming information

* The serial stream always starts with an upper case "S", the data string consists of:
S<decimal_move_frame>, <axis1_position>,<axis2_position>,........….....<axis8_position>

For Serial box v2,   it was for up to 8 axes. Ch1~6 are encoders streaming, Ch9 and Ch10 are lens data.
For Serial box v3,   it was for up to 10 axes. Ch1~8 are encoders streaming, Ch9 and Ch10 are lens data.

* The frame number has two decimal places, axis positions are signed integers.

1 count = 1 encoder line.
All lines are terminated with hex character 0x0d, followed by hex character 0.

* The move frame is specified as a decimal.

Where n = a number.
n.5 = 180 degrees, the position of the axes halfway through the exposure.
n.0 = shutter closed.