AMX NXD-CV5 Button Commands Cont, Programming, ICO-vt addr range,button states range,icon index

Models: NXD-CV5

1 162
Download 162 pages 52.79 Kb
Page 126
Image 126
"'^ICO-<vt addr range>,<button states range>,<icon index>'"

Programming

"^" Button Commands (Cont.)

^ICO

Syntax:

 

 

 

Set the icon to a

"'^ICO-<vt addr range>,<button states range>,<icon index>'"

button.

Variable:

 

 

 

 

 

 

 

 

variable text address range = 1 - 4000.

 

button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

 

1 = Off state and 2 = On state).

 

icon index range = 0 - 9900 (a value of 0 is clear).

 

Example:

 

 

 

 

SEND_COMMAND Panel,"'^ICO-500.504&510.515,1&2,1'"

 

Sets the icon for On and Off states for buttons with variable text ranges of 500-504 &

 

510-515.

 

 

 

 

 

 

 

 

 

^JSB

The alignment of 0 is followed by ',<left>,<top>'. The left and top coordinates are relative

Set bitmap/

to the upper left corner of the button.

 

 

 

 

 

picture alignment

Syntax:

 

 

 

using a numeric

"'^JSB-<vt addr range>,<button states range>,<new text

keypad layout for

alignment>'"

 

those buttons with

 

Variable:

 

 

 

a defined address

 

 

 

 

 

 

 

 

range.

variable text address range = 1 - 4000.

 

button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

 

1 = Off state and 2 = On state).

 

new text alignment = Value of 1 - 9 corresponds to the following locations:

 

0

 

 

 

 

 

 

1

2

3

Zero can be used for an absolute position

 

 

 

 

 

 

 

4

5

6

 

 

 

 

 

 

 

 

 

 

 

7

8

9

 

 

Example:

 

 

 

 

SEND_COMMAND Panel,"'^JSB-500.504&510.515,1&2,1'"

 

Sets the off/on state picture alignment to upper left corner for those buttons with variable

 

text ranges of 500-504 & 510-515.

 

 

 

 

 

 

^JSI

The alignment of 0 is followed by ',<left>,<top>'. The left and top coordinates are relative

Set icon

to the upper left corner of the button.

 

 

 

 

 

alignment using a

Syntax:

 

 

 

numeric keypad

"'^JSI-<vt addr range>,<button states range>,<new icon

layout for those

alignment>'"

 

buttons with a

 

Variable:

 

 

 

defined address

 

 

 

 

 

 

 

 

range.

variable text address range = 1 - 4000.

 

button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons

 

1 = Off state and 2 = On state).

 

new icon alignment = Value of 1 - 9 corresponds to the following locations:

 

0

 

 

 

 

 

 

1

2

3

Zero can be used for an absolute position

 

 

 

 

 

 

 

4

5

6

 

 

 

 

 

 

 

 

 

 

 

7

8

9

 

 

Example:

 

 

 

 

SEND_COMMAND Panel,"'^JSI-500.504&510.515,1&2,1'"

 

Sets the Off/On state icon alignment to upper left corner for those buttons with variable

 

text range of 500-504 & 510-515.

 

 

 

 

 

 

120

5" Modero Widescreen Touch Panel

Page 126
Image 126
AMX NXD-CV5 manual Button Commands Cont, Programming, ICO-vt addr range,button states range,icon index