Programming
120
MVP-5100/5150 5.2" Modero Viewpoint Touch Panels
"^" Button Commands (Cont.)
^BMI
Set the button
mask image.
Mask image is used to crop a borderless button to a non-square shape. This is typically
used with a bitmap.
Syntax:
"'^BMI-<vt addr range>,<button states range>,<mask image>'"
Variable:
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).
mask image = Graphic file used.
Example:
SEND_COMMAND Panel,"'^BMI-530,1&2,newMac.png'"
Sets the button with variable text 530 ON/OFF state mask image to 'newmac.png'.
"'^BMI-<variable text address range>,<button states range>,<mask image>'"
Set the Chameleon Image button property. See Working With Chameleon Images in
TPD4 Help.
Note:
If the Border Style properties is set to something other than 'None', no visible
change will occur. Setting the Border Style to 'None' via ^BOR or ^BMF..%B will reveal the
Chameleon image.
Syntax:
SEND_COMMAND <DEV>,"'^BMI-<vt addr range>,<button states range>,<mask
image>'"
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).
mask image = Chameleon used.
Example:
SEND_COMMAND Panel,"'^BMI-530,1&2,newMac.png'"
Sets the button with variable text 530 ON/OFF state mask image to 'newmac.png'.
^BML
Set the maximum
length of the text
area button.
If this value is set to zero (0), the text area has no max length. The maximum length avail-
able is 2000. This is only for a Text area input button and not for a Text area input masking
button.
Syntax:
"'^BML-<vt addr range>,<max length>'"
Variable:
variable text address range = 1 - 4000.
max length = 2000 (0=no max length).
Example:
SEND_COMMAND Panel,"'^BML-500,20'"
Sets the maximum length of the text area input button to 20 characters.
^BMP
Assign a picture to
those buttons with
a defined address
range.
Syntax:
"'^BMP-<vt addr range>,<button states range>,<name of bitmap/
picture>'"
Variable:
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 = 1 - 50 ASCII characters.
Example:
SEND_COMMAND Panel,"'^BMP-500.504&510.515,1,bitmap.png'"
Sets the OFF state picture for the buttons with variable text ranges of 500-504 & 510-515.
Summary of Contents for Modero ViewPoint MVP-5100
Page 4: ......
Page 12: ...viii Document Name Here Table of Contents ...
Page 22: ...Introduction 10 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Page 34: ...Accessories 22 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Page 100: ...Protected Setup Pages 88 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Page 114: ...Upgrading Firmware 102 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Page 160: ...Programming 148 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Page 168: ...Battery Life and Replacement 156 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Page 176: ...Appendix A Text Formatting 164 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Page 184: ...Appendix B Wireless Technology 172 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Page 188: ...Appendix C Troubleshooting 176 MVP 5100 5150 5 2 Modero Viewpoint Touch Panels ...
Page 189: ...Appendix 177 MVP 5100 5150 Modero Viewpoint Touch Panels ...