System Send_Commands (Cont.)

CommandDescription

"'@BMP',<variable text address>,'<bitmap>'"

"'@BOR',<variable text address>,<border style>"

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

"'@FON',<variable text address>,<font style>"

Add a bitmap file to a button. The bitmap 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

<bitmap> = Bitmap

Example:

SEND_COMMAND TP, "'@BMP',85,'Bitmap1'"

Adds the Bitmap1 file to button 85.

Set the border style on a button. <variable text address> = 1 - 255 <border style> = See Figure 204 Example:

SEND_COMMAND TP, "'@BOR',65 ,11"

Sets the border style to Double shadow on button 65.

Set a specific button's active state to On or Off. <variable text address> = 1 - 255

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

SEND_COMMAND TP,"'@ENA',128,1"

Sets the state for button 128 on.

Set the text font on a button.

<variable text address> = 1 - 255 <font style> = See Figure 203 Example:

SEND_COMMAND TP, "'@FON',56,32"

Sets the text on button 56 to variable font style 32.

ViewPoint Wireless Touch Panels

AXCESS Programming

155

Page 165
Image 165
AMX Wireless Touch Panels (Wave Server) instruction manual Sendcommand TP,@ENA,128,1, Sendcommand TP, @FON,56,32