Instruction manual
Table Of Contents
- ViewPoint Wireless Touch Panels
- Introduction
- Product Pics and Specs
- Connections, Cleaning, and Charging
- Touch Panel Basics
- Designing Touch Panel Pages
- Overview
- Activating the Edit button
- Setting the Device Base
- Setting the Device Used
- Creating a Page
- Creating a Button
- Button Properties
- Using TPDesign3 to Download Bitmaps, Icons, and Fonts
- Button Properties for External Pushbuttons
- Creating an IR Macro Button
- Creating a Joystick
- Creating a Bargraph
- Linking the New Page to the Main Page
- Exiting Edit Mode
- Programming
- Overview
- PC to ViewPoint Connections
- Programming the ViewPoint
- Programming Changes
- Serial Commands
- System Send_Commands
- Gray Scale and Programming Numbers
- Colors/Shades of Gray and Programming Numbers
- Font Styles and Programming Numbers
- Border Styles and Programming Numbers
- Shorthand Send Commands
- Color/Gray Scale Send_Commands
- Variable Text Send_Commands
- Shorthand Variable Text Commands
- Buttons String Commands
- Button IR Macro Commands
- Loading Infrared (IR) Files
- Upgrading the Firmware
- Contacting Sales and Technical Support
- Index

74 Programming ViewPoint Wireless Touch Panels
System Send_Commands (Cont.)
Command Description
TRASH=REMOVE_STRING(TP1_BUFFER,'PAGE-',1)
SEND_COMMAND TP2,"'PAGE-', TP1_BUFFER"
CLEAR_BUFFER TP1_BUFFER
}
IF((FIND_STRING(TP1_BUFFER,'PPON-',1)
OR(FIND_STRING(TP1_BUFFER',(PPOF-',1)))
{
SEND_COMMAND TP2,TP1_BUFFER
CLEAR_BUFFER TP1_BUFFER
}
}
IF (LENGTH_STRING(TP2_BUFFER))
{
IF(FIND_STRING(TP2_BUFFER,'PAGE-',1))
{
TRASH=REMOVE_STRING(TP2_BUFFER,'PAGE-',1)
SEND_COMMAND TP1,"'PAGE-', TP2_BUFFER"
CLEAR_BUFFER TP2_BUFFER
}
IF((FIND_STRING(TP1_BUFFER,'PPON-',1)
OR(FIND_STRING(TP1_BUFFER',(PPOF-',1)))
{
SEND_COMMAND TP1,TP2_BUFFER
CLEAR_BUFFER TP2_BUFFER
}
}
(*****************************************
In this program, the command string is sent to the Controller in
the 'PAGE-(page name)' or 'PPON/PPOF-(page name)' for-
mat. The string can be captured in the buffer for one panel and
sent to the other panel.
If panels are combined using the
DEFINE_COMBINE state-
ment, the routine needs to be written only once, and the com-
mand is sent back to the same panel.
*************************************************)
(***** END OF PAGE TRACKING ROUTINE
****************)