Programming
Button String Commands (Cont.)
$SC
Sends a serial
port
send_command
within a panel, as
if sent from
Axcess.
$SL
Activates sleep
mode on a
wireless touch
panel.
$SP
Sends data out
through the serial
port of the source
panel to a destina-
tion panel.
$ST
Sets the idle time
to activate sleep
mode for a touch
panel in 1-minute
increments.
WORKING?
Verifies the com-
munication
between touch
panels through the
use of the on-
panel editor.
36
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 is sends the command to put text on a button with a variable text value of 2. It is
crucial that all the correct ' and " be used with no spaces after the commas.
Example:
$SC 1,"'SLEEP'"
Sets a touch panel to sleep.
This command does not set the panel to sleep, but actually puts a wavepack to sleep.
Syntax:
"$SL"
Example:
$SL
Activates sleep mode on a wireless touch panel (ViewPoint or other panel using a
SmartPack/WavePack).
Syntax:
"$SP"<data>""
Variables:
data = Serial string command
Examples:
$SP "CALIBRATE"
Sends the Calibrate command to another panel through the Serial Port.
$SP "$SC 1,"'@TXT',1,'TEST'""
Uses the $SP command to send a Send Command ($SC ***) to another panel through the
Serial Port. This is an on-panel button string that is entered using on-screen keyboard.
When the touch panel's input time matches the sleep time, the panel goes to sleep.
Syntax:
"$ST<sleep timeout>"
Variable:
sleep timeout = 1 (Off) - 120 (in minutes)
Example:
$ST 5
Sets the touch panel's sleep time to 5 minutes.
Responding touch panels tell the sending touch panel to change its Main page to the color
white.
Syntax:
"WORKING?"
Example:
• VPN panel serial port is connected to TPI program port.
• VPN panel wants to verify communication between the TPI and itself.
• VPN panel issues "WORKING?" to its serial port. It will be sent as $SP "WORKING?".
• TPI receives the command and responds to the VPN panel by telling it to set the Main
page background to white. Thus communication is verified.
ViewPoint Wireless Touch Panels