Programming
30
ViewPoint Wireless Touch Panels
Variable Text Send_Commands
Use variable text Send_Commands to set the borders, fonts, and text.
Variable Text Send_Commands
!B
Sets a specific
button to On or
Off.
Syntax:
"
’!B’,<variable text address>,<ON/OFF>"
Variables:
variable text address = 1 - 255
ON = 0
OFF = 1
Example:
SEND_COMMAND TP,"’!B’,128,1"
Sets button 128 Off.
BTOF
Sets a specific
button's active
state to Off.
Syntax:
"
’BTOF<variable text address>’"
Variable:
variable text address = 1 - 255
Example:
SEND_COMMAND TP,"’BTOF255’"
Sets the state for button 255 to Off.
BTON
Sets a specific
button's active
state to On.
Syntax:
"’BTON<variable text address>’"
Variable:
variable text address = 1 - 255
Example:
SEND_COMMAND TP,"’BTON128’"
Sets the state for button 128 to On.
!C
Sets the border,
font, and text in
one command.
Syntax:
"’!C’,<variable text address>,<border style>,<font
size>,’<new button text>’"
Variables:
variable text address = 1 - 255
border style = See the Border Styles and Programming Numbers table on page 23.
font size = See the Font Styles and Programming Numbers table on page 23.
new button text = Enter button text to appear on the button.
Example:
SEND_COMMAND TP,"’!C’,1,6,6,’VCR PLAY’"
Sets the title on variable text button one to VCR PLAY using a hollow medium font, and
changes the border attribute to double rounded.