AMX COLOR TOUCH PANELS WITH AUDIO (G3 FIRMWARE) Instruction Manual page 68

4" color touch panels with audio (firmware version g3)
Table of Contents

Advertisement

Programming
Shorthand Variable Text Commands (Cont.)
@JUS
Sets the text
alignment on a
button.
@SHO
Sets a specific
button to on or off.
@TXT
Adds text to a but-
ton.
@UNI
Adds Unicode text
to a button.
64
Syntax:
"'@JUS',<variable text address>,<text alignment>"
Variables:
variable text address = 1 - 255
text alignment = 1 - 9 as shown in the following alignment chart:
1
3
2
6
4
5
7
8
9
Example:
SEND_COMMAND TP,"'@JUS',9,5"
Centers the text on button 9.
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.
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.
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.
4" Color Touch Panels with Audio

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLOR TOUCH PANELS WITH AUDIO (G3 FIRMWARE) and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Axd-cp4/aAxt-cp4/a

Table of Contents