Programming

Button Query Commands (Cont.)

?JST

Syntax:

Get the current

"'?JST-<vt addr range>,<button states range>'"

text justification.

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).

 

custom event type 1004:

 

Flag - Zero

 

Value1 - Button state number

 

Value2 - 1 - 9 justify

 

Value3 - Zero

 

Text - Blank

 

Text length - Zero

 

Example:

 

SEND COMMAND Panel,"'?JST-529,1'"

 

Gets the button 'OFF state' text justification information.

 

The result sent to the Master would be:

 

ButtonGet Id = 529 Type = 1004

 

Flag = 0

 

VALUE1 = 1

 

VALUE2 = 1

 

VALUE3 = 0

 

TEXT =

 

TEXT LENGTH = 0

 

 

?TEC

Syntax:

Get the current

"'?TEC-<vt addr range>,<button states range>'"

text effect color.

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).

 

custom event type 1009:

 

Flag - Zero

 

Value1 - Button state number

 

Value2 - Actual length of string (should be 9)

 

Value3 - Zero

 

Text - Hex encoded color value (ex: #000000FF)

 

Text length - Color name length (should be 9)

 

Example:

 

SEND COMMAND Panel,"'?TEC-529,1'"

 

Gets the button 'OFF state' text effect color information.

 

The result sent to the Master would be:

 

ButtonGet Id = 529 Type = 1009

 

Flag = 0

 

VALUE1 = 1

 

VALUE2 = 9

 

VALUE3 = 0

 

TEXT = #5088F2AE

 

TEXT LENGTH = 9

 

 

140

MVP-8400i Modero Viewpoint Wireless Touch Panels

Page 150
Image 150
AMX MVP-8400i manual ?Jst, ?Tec