Matrix Orbital GLK24064-25 User Manual

Page 31

Advertising
background image

26

Command Summary

3.17 Initialize a
Strip Chart

Dec
Hex
ASCII

254 110

FE 6E

■ n

ID X1 Y1 X2 Y2 Min Max Step Style ID
ID X1 Y1 X2 Y2 Min Max Step Style ID
ID X1 Y1 X2 Y2 Min Max Step Style ID

v8.3

Designate a portion of the screen for horizontal scrolling. Can be used to create scrolling graphs or marquee text.

ID

Byte

Unique chart identification number, value between 0 and 7.

X1

Byte

Leftmost coordinate of the strip chart, zero indexed from left.

Y1

Byte

Topmost coordinate of the strip chart, zero indexed from top.

X2

Byte

Rightmost coordinate of the strip chart, zero indexed from left.

Y2

Byte

Bottommost coordinate of the strip chart, zero indexed from top.

Min

Short

Minimum chart value.

Max

Short

Maximum chart value.

Step

Byte

Scroll distance in pixels.

Style

Byte

Chart style value which is an OR’d combination of type and direction, as per the tables below.

ID

Short

9-slice file ID, if a 9-slice style strip chart is not desired send any value for this parameter.

Table 20: Strip Chart Directions (Bytes 7-4)

Direction

Description

0

Bottom origin, left shift

32

Left origin, upward shift

64

Top origin, right shift

96

Right origin, downward shift

128

Bottom origin, right shift

160

Left origin, downward shift

192

Top origin, left shift

224

Right origin, upward shift

Table 21: Strip Chart Types (Bytes 3-0)

Type

Description

0

Bar

1

Line

2

Step

3

Box

4

9-slice

5

Separated Bar

6

Separated Box

3.18 Update a
Strip Chart

Dec
Hex
ASCII

254 111

FE 6F

■ o

ID Value
ID Value
ID Value

v8.3

Shift the specified strip chart and draw a new value.

ID

Byte

Chart identification number, value between 0 and 7.

Value

Short

Value to add to the chart.



Advertising
This manual is related to the following products: