5.2.4.2.2 MSG_CONF_GRAPH
Used to create a new or reconfigure an existing graph view. The graph view requires an unique ID. Values for range, labels, and background color can also be set.
Field | Size | Values | Description |
---|---|---|---|
Message ID | 1 byte | 0x22 | |
Data length | 2 bytes | 23 + label length (N) + Xlabel length (M) | |
ID | 2 bytes | 0x0000-0xFFFF | ID of new graph |
Label | N bytes | Null-terminated string | Graph label |
Xmin | 4 bytes | Range Xmin value | |
Xmax | 4 bytes | Range Xmax value | |
Xlabel | M bytes | Null-terminated string | X label |
Xscale numerator | 4 bytes | X range scale value. Set to 0 to enable auto-range. | |
Xscale denumerator | 4 bytes | X range scale value. Set to 0 to enable auto-range. | |
Scale mode | 1 byte |
0 = scaling off 1 = auto-scale | Vertical scaling |
Background color | 3 bytes | 0xRRGGBB | RGB background color |
Scroll mode | 1 byte |
0 = no scrolling 1 = stepping 2 = scroll 3 = circular/sweep | Horizontal scrolling |