
MoTeC Appendices 37
Appendix D: Control String Setup
The RS-232 serial stream consists of 2 lines. The first line is made up
of setup information, such as the type of display either a bar graph, tick
marks or text. The second line contains the channel values to be
displayed.
Definition of Setup Line: X,t,l,w,t,l,w,t,l,w...
Begins with a hexadecimal number, “X” of value 200 + flag settings.
This value is set as the compound line identifier. Defined so far:
+ 1 : black background instead of transparent background
+ 2 : vertical area is placed on right side instead of left side
+ 4 : horizontal area is placed on bottom instead of top
Followed by any number of data item records. Each record will be of the
following form, each preceded by commas: ,t,l,w
t : specifies Type and Anchoring
l : specifies Location
w : specifies Width
Values for t, Type:
10 = text in horizontal area
11 = Horizontal bar anchored at left
12 = Horizontal bar anchored at center
13 = Horizontal bar anchored at right
14 = Horizontal spot anchored at left
15 = Horizontal spot anchored at center
16 = Horizontal spot anchored at right
17 = Horizontal tick anchored at left with a tick there
18 = Horizontal tick anchored at center with a tick there
19 = Horizontal tick anchored at right with a tick there
20 = Vertical bar anchored at bottom
21 = Vertical bar anchored at center
22 = Vertical bar anchored at top
23 = Vertical spot anchored at bottom
24 = Vertical spot anchored at center
25 = Vertical spot anchored at top
26 = Vertical tick anchored at bottom with a tick there
27 = Vertical tick anchored at center with a tick there
28 = Vertical tick anchored at top with a tick there
29 = time in mm:ss.dd if width is 8, ss.dd if width is 5
30 = time in hh:mm:ss if width is 8, mm:ss if width is 5
If time width is 9, a leading space is put in front of 8 characters.
If time width is 6 or 7, one or two leading spaces are put in front
The width in characters should count the colons and decimal point.
Kommentare zu diesen Handbüchern