System Send_Commands (Cont.)

CommandDescription

"'@ICO',<variable text address>,<icon>"

"'@JUS',<variable text address>,<text alignment>"

Assign an icon to a button. The icon files are imported into the TPDesign3 software program, and their numbers are assigned by the touch panel during the download process.

<variable text address> = 1 - 255

<icon file number> = 1 - 255

Example:

SEND_COMMAND TP,'"'@ICO',16,12"

Adds icon 12 on button 16.

Set the text alignment on a button.

<variable text address> = 1 - 255

<text alignment> = 1 - 9 as shown in the following alignment chart

1 2 3

4 5 6

7 8 9

"'@SHO',<variable text address>,<button on/off>"

Example:

SEND_COMMAND TP, "'@JUS',9,5"

Centers the text on button 9.

Set a specific button to on or off.

<variable text address> = 1 - 255

<0> = button off and <1> = button on Example:

SEND_COMMAND TP,"'@SHO',128,0"

Sets button 128 off.

156

AXCESS Programming

ViewPoint Wireless Touch Panels

Page 166
Image 166
AMX Wireless Touch Panels (Wave Server) Sendcommand TP,@ICO,16,12, Sendcommand TP, @JUS,9,5, Sendcommand TP,@SHO,128,0