![background image](http://html1.mh-extra.com/html/amx/viewpoint-netwave-series/viewpoint-netwave-series_instruction-manual_2939330039.webp)
Programming
35
ViewPoint Wireless Touch Panels
Button String Commands
The table below lists string commands you can assign to buttons by using the touch panel editor.
Select the PROPERTIES option in the Edit bar, press the target button, and
enter the string
command with the Touch Panel keyboard
. The control system receives the string command
when you press a button.
Shorthand Variable Text Commands (Cont.)
@TXT
Adds text to a but-
ton.
Use the | character to display text on multiple lines.
Syntax:
"’@TXT’,<variable text address>,’<text>’"
Variables:
variable text address = 1 - 255
text = Enter button text to appear on the button.
Example:
SEND_COMMAND TP,"’@TXT’,2,’VCR|PLAY’"
Sets the VCR and PLAY text on variable button 2. The | character places VCR on a text
line above PLAY on the button.
@UNI
Adds Unicode text
to a button.
Characters for Middle Eastern languages, such as Arabic, are not supported within the
Unicode fonts because they are bi-directional. Buttons with Unicode fonts can only be cre-
ated and edited using TPDesign3 Touch Panel Design Program.
Syntax:
"’@UNI’,<variable text address>,’<text>’"
Variables:
variable text address = 1 - 255
text = Enter button text to appear on button.
Example:
SEND_COMMAND TP,"’@UNI’,2,’Foreign Text’"
Sets the Foreign Text on variable button 2.
Button String Commands
$ID
Sets the group ID
number on VPN
panels.
Syntax:
"$ID,<group ID>"
Variables:
group ID = 0 - 15
Example:
$ID 15
Sets the Group ID to 15.