Instruction manual

Table Of Contents
ViewPoint Wireless Touch Panels Programming 91
System Send_Commands (Cont.)
Command Description
'%C4',<off-state border color> = See Figure 92 for color num-
bers
'%C5',<on-state text color> = See Figure 92 for color numbers
'%C6',<off-state text color> = See Figure 92 for color numbers
Example:
SEND_COMMAND TP,"'@BMF',255,'%T POWER |ON
'%B',4',%C1',72'"
Sets the text on button 255 to POWER ON (appears on two
lines), adds a triple-line border, and sets the On-state color to
White.
"'@BMP',<variable text
address>,'<bitmap>'"
Add a bitmap file to a button. The bitmap files are imported into
the TPDesign3 software program, and their numbers are as-
signed 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.
"'@BOR',<variable text
address>,<border
style>"
Set the border style on a button.
variable text address = 1 - 255
border style = See Figure 94
Example:
SEND_COMMAND TP, "'@BOR',65 ,11"
Sets the border style to Double shadow on button 65.
"'@ENA',<variable text
address>,<button state
on/off>"
Set a specific button's active state to On or Off.
variable text address = 1 - 255
1 = button Off
0 = button On
Example:
SEND_COMMAND TP,"'@ENA',128,1"
Sets the state for button 128 on.