Bmx - AMX Modero G5 Instruction Manual

X series g5 touch panels
Hide thumbs Also See for Modero G5:
Table of Contents

Advertisement

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:
Variables:
Example:
?BMX
Query State Bitmap Extended Command.
Get the current bitmap name+ justification for one or all indexes.
Syntax:
Variables:
Modero G5 Touch Panels - Configuration and Programming
"'^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>'"
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.
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-<vt addr range>,<button states range>,[index]'"
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
Programming - Send Commands
85

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents