Programming
136 MVP-7500/8400 Modero Viewpoint Wireless Touch Panels
Button Query Commands (Cont.)
?JST
Get the current
text justification.
Syntax:
"'?JST-<vt addr range>,<button states range>'"
Varia ble:
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
Get the XML
panel logs.
Returned in MULTIPLE Custom events (size of strings are limited per message). Values
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))
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
Get the
microphone
output level.
Returned in Custom event.
Value1=mic out level
?MUT
Get the mute
value.
Returned in Custom event
Value1=button state(0=off, 1=on)
?PIF
Get the panel file
system, RAM, and
panel start time
information.
Returned in Custom event.
Text=<Filesystem Info>,<RAM Info>,<Panel Start Time>