ELEMENT_TYPE_SEGMENT
The tables below describe the ELEMENT_TYPE_SEGMENT specific parameters and additional fields for the MSG_CONF_DASHBOARD_ELEMENT message.
Parameter | Value |
---|---|
ELEMENT_TYPE | 0x05 |
Total data length of MSG_CONF_DASHBOARD_ELEMENT when using ELEMENT_TYPE_SEGMENT | 20 |
Field | Size | Values | Description |
---|---|---|---|
Count | 1 byte | 1-20 | Number of displays |
Base | 1 byte | 2-16 | Numeric base |
Transparency | 1 byte | 0 - 255 | |
Color | 3 bytes | 0xRRGGBB | RGB color of display |
Example
The picture below shows an example of a segment element with two digits. The corresponding element data fields are given in the table below the picture.
: The appearance of elements will vary with operating system version
and configuration.
Field | Value |
---|---|
Z-index | 0 |
X-coordinate | 30 |
Y-coordinate | 30 |
Width | 174 |
Height | 150 |
Element type | 0x05 |
Count | 2 |
Base | 10 |
Transparency | 255 |
Color | 0xFD0000 |