![background image](http://html1.mh-extra.com/html/amx/8-5-black-white-lcd/8-5-black-white-lcd_instruction-manual_2939170033.webp)
Programming
29
8.5" Black and White Touch Panels
Shorthand Send_Commands (Cont.)
@CTF
Sets the OFF
feedback text
color to the speci-
fied color.
This only works if the specified background color is not the same as the current color.
Syntax:
"’@CTF’,<variable text address>,<color_number>"
Variables:
variable text address = 1 – 255
color number = See the Colors and Programming Numbers table on page 26.
Example:
SEND_COMMAND TP,"’@CTF’,1,87"
Sets the OFF feedback text color to Black for variable text button 1.
@CTN
Sets the ON feed-
back text color to
the specified
color.
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 26.
Example:
SEND_COMMAND TP,"’@CTN’,1,72"
Sets the ON feedback text color to White for variable text button 1.
@IDF
The touch panel
returns its
MS-DOS file
name in a string.
Syntax:
"’@IDF’"
Example:
SEND_COMMAND TP,"’@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.
Syntax:
"’@IDP’"
Example:
SEND_COMMAND TP,"’@IDP’"
The touch panel returns a string containing the TPDesign3 project name.
@MOU
Sets the serial
touch interface
type.
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
Example:
SEND_COMMAND TP,"’@MOU 01’"
Sets the touch interface to Microsoft serial mouse.