AMX 10.4 TOUCH PANELS (G3 FIRMWARE) Instruction Manual page 44

10.4" touch panels
Table of Contents

Advertisement

Programming
Shorthand Send_Commands (Cont.)
@CTN
Sets the ON feed-
back text color to
the specified
color.
@IDF
The touch panel
returns its
MS-DOS file
name in a string.
@IDP
Queries the touch
panel to return a
string with the
TPDesign3
project name.
@MOU
Sets the serial
touch interface
type.
@PPA
Removes all
popup pages from
a specified page.
40
This only works if the specified background color is not the same as the current color.
Syntax:
"'@CTN',<variable text address>,<color_number>"
Variables:
variable text address = 1 – 255
color number = See the Colors and Programming Numbers table on page 37.
Example:
SEND_COMMAND TP,"'@CTN',1,72"
Sets the ON feedback text color to White for variable text button 1.
Syntax:
"'@IDF'"
Example:
SEND_COMMAND TP,"'@IDF'"
The touch panel returns its MS-DOS file name in a string.
Syntax:
"'@IDP'"
Example:
SEND_COMMAND TP,"'@IDP'"
The touch panel returns a string containing the TPDesign3 project name.
When changing the serial touch device, you must connect the hardware before setting the
device type.
Syntax:
"'@MOU <touch_type>'"
Variables:
touch type =
00: Mouse cursor Off
®
01: Microsoft
serial mouse/cursor On
8000: Touch Output to Serial Port 8000 (Elo IntelliTouch)
Example:
SEND_COMMAND TP,"'@MOU 00'"
Turns Off the mouse interface.
If no page is specified, the active page is used.
Syntax:
"'@PPA-<page name>'"
Variable:
page name = target touch panel page name
Example:
SEND_COMMAND TP,"'@PPA-Main Page'"
If there were several popup pages on 'Main Page' that are active, sending the previous
command would remove them all from that page.
10.4" Touch Panels

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents