AMX COLOR ACTIVE VIDEO TOUCH PANEL (G3 FIRMWARE) Instruction Manual page 53

6" color video touch panels (firmware version g3)
Hide thumbs Also See for COLOR ACTIVE VIDEO TOUCH PANEL (G3 FIRMWARE):
Table of Contents

Advertisement

Shorthand Variable Text Commands (Cont.)
@BMF
Sets multiple
attributes to a but-
ton, slider, or
gauge.
@ENA
Enables/disables
buttons based on
the variable text
channel.
6" Color Video Touch Panels
This command allows you to program up to 12 attributes on one command line.
Syntax:
"'@BMF',<variable text address>,'<attribute data>'"
Variables:
variable text address = 1 - 255
attribute data:
'%R,<left>, <top>, <right>, <bottom>' = Sets the rectangle position.
'%B',<border styles> = See the Border Styles and Programming Numbers table on
page 39.
'%F',<font styles> = See the Font Styles and Programming Numbers table on page 39.
'%T',<button text > = ASCII characters (empty is clear)
'%P',<bitmap> = Bitmap filename (empty is clear)
'%I',<icon> = 1 - 255 (icon numbers are assigned in TPDesign3 project file)
'%J',<text alignment> = 1 - 9 as shown the following alignment chart:
1
2
3
4
6
5
7
8
9
For %C1-%C6, see the Colors and Programming Numbers table on page 39.
'%C1',<on-state fill color>
'%C2',<off-state fill color>
'%C3',<on-state border color>
'%C4',<off-state border color>
'%C5',<on-state text color>
'%C6',<off-state text color>
Example:
SEND_COMMAND TP,"'@BMF',255,'%T POWER |ON'
'%B','4','%C1','72'"
Sets the text on button 255 to POWER ON (appears on two lines), adds a triple-line bor-
der, and sets the On-state color to White.
Syntax:
"'@ENA',<variable text address>,<disable button on/off>"
Variables:
variable text address = 1 – 255
disable button on/off=
1 : button disabled
0 : button enabled
Example:
SEND_COMMAND TP,"'@ENA',128,1"
Disables the button with variable text channel 128. This button will stop responding to
pushes completely, until it is sent an Enable command. Nothing short of a touch panel
SoftROM firmware reload will re-enable the button. Reloading the touch panel file, reload-
ing the Axcess program, or resetting power on the panel or master will not re-enable the
button. It must be sent an Enable command once it has been disabled.
Programming
49

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLOR ACTIVE VIDEO TOUCH PANEL (G3 FIRMWARE) and is the answer not in the manual?

This manual is also suitable for:

Axd-cv6Ac-cv6t

Table of Contents