Programming
135
MVP-8400i 8.4" Modero® ViewPoint® Touch Panel with Intercom
Button Query Commands (Cont.)
?STA
Dump XML Panel
Stats
Syntax:
"'?STA'"
Returned in MULTIPLE Custom events (size of strings are limited per message). Values
in Custom event will state 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)
Example:
<?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>
?STO
Get the shutdown
timeout
information
Syntax:
?STO-<Shutdown Timeout Value>
Variable:
Value1=shutdown timeout value (in minutes)
?TEC
Get the current
text effect color.
Syntax:
"'?TEC-<vt addr range>,<button states range>'"
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: #000 000FF)
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