Crestron
e-control Vote SW-VOTE
132
••
Appendices
Installation & Reference Guide — DOC. 5822
Appendix D: Error Conditions
When an error condition arises, the
error number
is sent via the
ErrNumber
analog
signal through the signal block that raised the error to the control system. The error
string is sent via the accompanying
ErrString
serial signal. Finally, the
ErrTrigger
digital signal is pulsed.
ErrNumber
is intended for use by error-handling SIMPL code. Typically,
ErrString
is used for display to the user who prompted the error. The
ErrString
value has the following format:
signal-block-name
.
signal-name
:
error-string
.
For example:
QUEUE1.Pick3: Object not loaded.
If the signal block that raised the error does not define the
Err____
signals, the
information is sent instead through the controlling signal block, if any, instead. For
example, if a scroller representing a request-to-speak queue raises an error, and it
does not define its
Err____
signals (as is typical), the error is sent through the
controlling Request-to-Speak Console signal block.
If the controlling signal block (if any) too does not define its
Err____
signals, the
error is sent instead through the COM Settings signal block to which the signal block
that originally raised the error is attached.
Finally, if that COM Settings signal block does not define its
Err____
signals as
well, the error information will never reach the control system.
In any case, the error string is always also sent to the server log in the
Server
Monitor
window (the main window), prefixed with the error alert character (which is
a question mark:
?
).
Server error conditions
ErrNumber
Value
Internal Symbol
ErrString Value
32001
Err_UNKNOWN_SIGNAL
Unrecognized signal
32002
Err_INSUFFICIENT_LICENSE
Insufficient license
32003
Err_FILE_NOT_FOUND
File not found
32004
Err_TABLE_NOT_FOUND
Database table could not be opened
32005
Err_DATABASE_ALREADY_OPENED
Query already opened
32006
Err_DATABASE_NOT_OPENED
Query not opened
32007
Err_OBJECT_ALREADY_LOADED
Object already loaded
32008
Err_OBJECT_NOT_LOADED
Object not loaded
32009
Err_ENABLE
SignalBlock could not be enabled (see server log)
32010
Err_NO_RECORD_CHOSEN
You must choose a record first