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

 

 

?LOG

Returned in MULTIPLE Custom events (size of strings are limited per message). Values

Get the XML

in Custom event displays the number of messages and how many total bytes of xml data.

Value 1 = 1 (which one of multiple events is this (1 based))

panel logs.

 

Value 2 = 5 (total number of events required to send this string)

 

Value 3 = total size in bytes of string

 

Text = XML output (1 of 5)

 

total XML output resembles:

 

<?xml version="1.0" ?>

 

<PanelLogs>

 

<Log>

 

<Date>09-04-2008 THU 11:24:07</Date>

 

<Name>MasterUrlConnect</Name>

 

<Message>Connected to (Sys=303) Master cjc-master (URL Mode)</

 

Message>

 

</Log>

 

</PanelLogs>

?MCO

Returned in Custom event.

Get the

Value1=mic out level

microphone

 

output level.

 

 

 

?MUT

Returned in Custom event

Get the mute

Value1=button state(0=off, 1=on)

value.

 

 

 

?PIF

Returned in Custom event.

Get the panel file

Text=<Filesystem Info>,<RAM Info>,<Panel Start Time>

system, RAM, and

 

panel start time

 

information.

 

 

 

136

MVP-7500/8400 Modero Viewpoint Wireless Touch Panels

Page 150
Image 150
AMX MVP-7500/8400 manual ?Jst, ?Log, ?Mco, ?Mut, ?Pif