Programming
176
VG Series Modero Touch Panels
"^" Button Commands (Cont.)
^BMF
(Cont.)
’’%GU<bargraph ramp up>’ = Set the bargraph ramp up time in intervals of 1/10 second.
’%GD<bargraph ramp down>’ = Set the bargraph ramp down time in 1/10 second.
’%GG<bargraph drag increment> = Set the bargraph drag increment. Refer to the ^GDI command on
page 182 for more information.
’%VI<video On/Off>’ = Set the Video either On (value=1) or Off (value=0).
’%OT<feedback type>’ = Set the Feedback (Output) Type to one of the following:
None, Channel,Invert, On (AlwaysOn), Momentary, or Blink.
’%SM’ = Submit a text for text area button.
’%SF<1 or 0>’ = Set the focus for text area button.
’%OP<0-255>’ = Set the button opacity to either Invisible (value=0) or Opaque (value=255).
’%OP#<00-FF>’ = Set the button opacity to either Invisible (value=00) or Opaque (value=FF).
’%UN<Unicode text>’ = Set the Unicode text. See the^UNI section on page 187 for the text format.
’%LN<0-240>’ = Set the lines of video being removed. See the^BLN section on page 173 for more
information.
’%EF<text effect name>’ = Set the text effect.
’%EC<text effect color>’ = Set the text effect color.
’%ML<max length>’ = Set the maximum length of a text area.
’%MK<input mask>’ = Set the input mask of a text area.
’%VL<0-1>’ = Log-On/Log-Off the computer control connection
’%VN<network name>’ = Set network connection name.
’%VP<password>’ = Set the network connection password.
Example:
SEND_COMMAND Panel,"'^BMF-500,1,%B10%CFRed%CB Blue %CTBlack%Ptest.png'"
Sets the button OFF state as well as the Border, Fill Color, Border Color, Text Color, and Bitmap.
^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'.