Shorthand Send_Commands - AMX 10.4 TOUCH PANELS (G3 FIRMWARE) Instruction Manual

10.4" touch panels
Table of Contents

Advertisement

Programming
Border styles can be used to program borders on buttons, sliders, and gauges.
Border Styles and Programming Numbers
No.
Border styles
0
No border
1
No border special
2
Single line
3
Double line
4
Triple line
5
Single rounded
6
Double rounded
7
Single raised
8
Double raised
9
Triple raised
10
Double-line two single

Shorthand Send_Commands

The table below lists the shorthand Send_Commands you can use with touch panels. The shorthand
command data is 1-byte, non-ASCII format except for pages, passwords, text, and bitmap names.
Shorthand Send_Commands
@CBF
Sets the OFF
feedback border
color to the speci-
fied color.
@CBN
Sets the ON feed-
back border color
to the specified
color.
38
No.
Border styles
11
Double shadow
20
3-dimensional rectangle 1
21
3-dimensional rectangle 2
22
3-dimensional round 1
23
3-dimensional round 2
24
3-dimensional neon 1
25
3-dimensional neon 2
26
3-dimensional neon blue
27
3-dimensional neon green
40
Single diamond
41
Double diamond
This works only if the specified background color is not the same as the current color.
Syntax:
"'@CBF',<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,"'@CBF',1,0"
Sets the OFF feedback border color to Red for the variable text button 1.
This works only if the specified background color is not the same as the current color.
Syntax:
"'@CBN',<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,"'@CBN',2,78"
Sets the ON feedback border color to Gray for variable text button 2.
10.4" Touch Panels

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents