Programming - Send Commands
85
Modero G5 Touch Panels - Configuration and Programming
Button State Commands (Cont.)
^BMX
Set State Bitmap Extended Command.
Assign a set of pictures with justifications to those buttons with a defined address range.
Syntax:
"'^BMX-<vt addr range>,<button states range>,
<name of bitmap/picture/resource,index,justification>;
<name of bitmap/picture/resource,index,justification>;
<name of bitmap/picture/resource,index,justification>'"
Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and
2 = On state).
name of bitmap/picture/resource = ASCII characters.
Index = 0 - 5 the index to assign the bitmap/picture. The indexes are defined as:
0 - Chameleon Image (if present)
1 - Bitmap 1
2 - Bitmap 2
3 - Bitmap 3
4 - Bitmap 4
5 - Bitmap 5
Justification = 0-10 where:
0 - Absolute position
1 - top left
2 - top center
3 - top right
4 - middle left
5 - middle center
6 - middle right
7 - bottom left
8 - bottom center
9 - bottom right
10 - scale to fit.
If absolute justification is set, the next two parameters are the X and Y offset of the bitmap for the referenced
index.
Example:
SEND_COMMAND Panel,"'^BMX-
500.504&510.515,1,bitmap.png,1,5;bitmap2.png,2,0,100,50;bitmap3.png,3,1'"
Sets the OFF state pictures for the buttons with variable text ranges of 500-504 & 510-515 as follows:
bitmap.png is assigned to index 1 and is middle center justified.
bitmap2.png is assigned to index 2 and is absolute justified with an X offset of 100 and a Y offset of 50.
bitmap3.png is assigned to index 3 and is top left justified.
?BMX
Query State Bitmap Extended Command.
Get the current bitmap name+ justification for one or all indexes.
Syntax:
"'?BMX-<vt addr range>,<button states range>,[index]'"
Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and
2 = On state).
Optional index = 0 - 5 The index of the bitmap to query. If not specified then all valid indexes are returned. The
indexes are defined as:
0 - Chameleon Image (if present)
1 - Bitmap 1
2 - Bitmap 2
3 - Bitmap 3
4 - Bitmap 4
5 - Bitmap 5
Содержание Modero G5
Страница 58: ...Settings Menu 48 Modero G5 Touch Panels Configuration and Programming ...
Страница 62: ...Gestures 52 Modero G5 Touch Panels Configuration and Programming ...
Страница 66: ...MXA MP and MXA MPL Programming 56 Modero G5 Touch Panels Configuration and Programming ...
Страница 138: ...Appendix B Bargraph Functions 128 Modero G5 Touch Panels Configuration and Programming ...
Страница 143: ...Appendix C Video Streaming Troubleshooting 133 Modero G5 Touch Panels Configuration and Programming ...