Programming
Button Query Commands (Cont.)
?JST | Syntax: | |
Get the current | ||
text justification. | Variable: | |
| variable text address range = 1 - 4000. | |
| button states range = 1 - 256 for | |
| 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 | |
| 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> | |
| ||
| <Name>MasterUrlConnect</Name> | |
| <Message>Connected to (Sys=303) Master | |
| 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 |