![background image](http://html.mh-extra.com/html/amx/axd-cv6/axd-cv6_instruction-manual_2938895047.webp)
Programming
43
6" Color Video Wall Panel
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 string command is sent to the control system
when you press the 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
$CU
Turns the cursor
display On and
Off.
Syntax:
"$CU <cursor value>"
Variable:
cursor value = 0 (Off) and 1 (On)
Example:
$CU 0
Turns the cursor Off.
$SC
Sends a serial
port
send_command
within a panel, as
if sent from
Axcess.
Syntax:
"$SC <device offset>,"’<send_command>,<variable
text #>,<data>’""
Variables:
device offset = Device number
variable text # = The variable text number value on the touch panel.
data = 0 - 59 characters
Example:
$SC 1,"’@TXT’,2,’TEXT’"
The string sends the command to put text on a button with a variable text value of 2.
Its crucial that all the correct ’ and " be placed with no spaces after commas.