Programming
34
ViewPoint Wireless Touch Panels
Shorthand Variable Text Commands (Cont.)
@FON
Sets the text font
on a button.
Syntax:
"’@FON’,<variable text address>,<font style>"
Variables:
variable text address = 1 - 255
font style = See the Font Styles and Programming Numbers table on page 23.
Example:
SEND_COMMAND TP,"’@FON’,56,32"
Sets the text on button 56 to variable font style 32.
@ICO
Assigns an icon to
a button.
Syntax:
"’@ICO’,<variable text address>,<icon file number>"
Variables:
variable text address = 1 - 255
icon file number = 1 - 255
Example:
SEND_COMMAND TP,"’@ICO’,16,12"
Adds icon 12 on button 16. Setting the icon value to 0 clears the appearance of the icon.
@JUS
Sets the text
alignment on a
button.
Syntax:
"’@JUS’,<variable text address>,<text alignment>"
Variables:
variable text address = 1 - 255
text alignment = 1 - 9 as shown in the following alignment chart:
Example:
SEND_COMMAND TP,"’@JUS’,9,5"
Centers the text on button 9.
@SHO
Sets a specific
button to on or off.
Syntax:
"’@SHO’,<variable text address>,<button on/off>"
Variables:
variable text address = 1 - 255
button on/off=
0 : button Off
1 : button On
Example:
SEND_COMMAND TP,"’@SHO’,128,0"
Sets button 128 off.
1
4
7
8
9
6
3
2
5