Live Mode Protocol Page 178
User Log Message
Error status is returned in the following format:
<type>|<level>|<message>LV
• <type> = single ascii character the item type (see Resource Type Table)
• <level> = "information", "warning" or "error (see Log Type Table)
• <message> = the actual message information
Log Type
Name Lookup
Note: Resource indexes can be queried by using the "Name Lookup" command (NL):
<resource name>NL<h0d>
The results returned in the form:
<type>|<index>|<device>|<listIndex>NL<h0D>
• <type> = single ascii character the item type (see Resource Type Lookup)
• <index> = zero indexed resource number: Example input7 = 6
• <device> = zero indexed device number (for device variables, inputs, etc.) from the "devices"
table in WinScript
• <listIndex> = if this variable is a "list" type variable (array), the position in the array to retrieve.
Zero indexed only if the variable itself uses zero indexing, otherwise 1 indexed.
If the index is not relevant (ie: no device index) then "-1" is returned.
Example where "default" is the first sequence in the script:
Received:
defaultNL<h0d>
Returned:
s|0|-1|-1NL<h0d>
If the value is not found, the following string is returned:
Error: Resource name not found<h0D>