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

10.4" touch panels
Table of Contents

Advertisement

Shorthand Send_Commands (Cont.)
@CFF
Sets the OFF
feedback fill color
to the specified
color.
@CFN
Sets the ON feed-
back fill color to
the specified
color.
@CPG
Sets the page with
specified page
name back-
ground color to
the specified
color.
@CPP
Sets the page with
specified page
name back-
ground color to
the specified
color.
@CTF
Sets the OFF
feedback text
color to the speci-
fied color.
10.4" Touch Panels
This only works if the specified background color is not the same as the current color.
Syntax:
"'@CFF',<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,"'@CFF',1,72"
Sets the OFF feedback fill color to White for variable text button 1.
This only works if the specified background color is not the same as the current color.
Syntax:
"'@CFN',<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,"'@CFN',1,30"
Sets the ON feedback fill color to Aqua for variable text button 1.
This only works if the new background color is not the same as the current color.
Syntax:
"'@CPG',<color_number>,'<page name>'"
Variables:
color number = See the Colors and Programming Numbers table on page 37.
page name = 1 – 50 ASCII characters
Example:
SEND_COMMAND TP,"'@CPG',87,'Main Page'"
Sets the page title to Main Page, and the color to Black.
This only works if the specified background color is not the same as the current color.
Syntax:
"'@CPP',<color_number>,'<pop-up page name>'"
Variables:
color number = See the Colors and Programming Numbers table on page 37.
pop-up page name = 1 – 50 ASCII characters
Example:
SEND_COMMAND TP,"'@CPP',54,'Audio Page'"
Sets the popup page title to Audio Page, and the color to Purple.
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 37.
Example:
SEND_COMMAND TP,"'@CTF',1,48"
Sets the OFF feedback text color to Blue for variable text button 1.
Programming
39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents