10 graphs – Matrix Orbital GTT70A User Manual
Page 34

Command Summary
30
2.10 Graphs
10.1 List All
Bargraphs
Dec
Hex
ASCII
254 102
FE 66
þ f
2.0
Read a list of all bargraph entries. Three bytes per entry indicate current display use, type, and current value.
Return Message
252 102 Length
BarType BarValue
BarType
Byte
Type of bargraph entry.
BarValue
Signed Short
Current value of bargraph entry.
Table 24: eBargraphType values
Value Description
0
Unused
1
Plain
2
9-Slice
10.2 Define A
Plain Bargraph
Dec
Hex
ASCII
254 103
FE 67
þ g
Index Min Max X Y Width Height FGR FGG FGB BGR BGG BGB D
Index Min Max X Y Width Height FGR FGG FGB BGR BGG BGB D
Index Min Max X Y Width Height FGR FGG FGB BGR BGG BGB D
2.0
Define a region of the screen to be used to display a new plain bargraph identified by the specified index. New
indices will overwrite old, invalid directions will default to 0, and inverted min and max values will be corrected.
Index
Byte
Index used to identify the desired bargraph. Specific to bargraphs.
Min
Signed Short
Minimum bargraph value.
Max
Signed Short
Maximum bargraph value.
X
Signed Short
Leftmost coordinate of the bargraph.
Y
Signed Short
Topmost coordinate of the bargraph.
Width
Signed Short
Width of the bargraph.
Height
Signed Short
Height of the bargraph.
FGR
Byte
Red component of the foreground colour.
FGG
Byte
Green component of the foreground colour.
FGB
Byte
Blue component of the foreground colour.
BGR
Byte
Red component of the background colour.
BGG
Byte
Green component of the background colour.
BGB
Byte
Blue component of the background colour.
D
Byte
Direction that the bargraph will take, as per eBargraphType values.
Table 25: eBargraphOrientation values
Value
Description
0
Bottom To Top
1
Left To Right
2
Right To Left
3
Top To Bottom