AMX Color Active-Matrix LCD Instruction Manual page 149

Color active-matrix lcd mini-touch panel firmware version g3 or higher
Hide thumbs Also See for Color Active-Matrix LCD:
Table of Contents

Advertisement

Figure 209
Shorthand variable text com-
mands
Note
Shorthand commands were
created by AMX designers to
streamline receiving, process-
ing, and transmitting Central
Controller data. The short-
hand commands operate Con-
trol Equipment just like the
standard Send_Commands
still used in a wide variety of
AMX products, but they are
simply smaller byte-for-byte,
and thus processed more effi-
ciently.
142
AXCESS Programming
Shorthand variable text commands
Command
"'@BMF',<variable text
address>,'<attribute
data>'"
Description
Set multiple attributes to a button, slider, or gauge. This com-
mand allows you to program up to 12 attributes on one com-
mand line.
<variable text address> = 1 - 255
<optional data> = See below
Optional data:
'%B',<border styles> = See Figure 205
'%F',<font styles> = See Figure 204
'%T',<button text > = ASCII characters
'%P',<bitmap> = Bitmap filename
'%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
5
6
7
8
9
'%C1',<on-state fill color> = See Figure 203 for color numbers
'%C2',<off-state fill color> = See Figure 203 for color numbers
'%C3',<on-state border color> = See Figure 203 for color num-
bers
'%C4',<off-state border color> = See Figure 203 for color num-
bers
'%C5',<on-state text color> = See Figure 203 for color numbers
'%C6',<off-state text color> = See Figure 203 for color numbers
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 border, and sets the On-state color to
White.
Color Active-Matrix LCD Mini-Touch Panels

Advertisement

Table of Contents
loading

Table of Contents