Programming Guide – 59
Output Queue
Responses to query messages are placed in the output queue. This queue is 100 bytes long.
When a response is placed in the output queue, the MAV bit in the status register is set. The
MAV bit is cleared when the response is sent.
If an attempt is made to read the output queue when it is empty and the current program
message does not contain a query, a query error bit is set.
Error Queue
Errors are placed in the error queue. This queue is 100 bytes long. Because it is an FIFO
queue, the error returned when the error queue is read is always the first error that occurred.
An error is only placed in the queue once.
If more than three errors are placed in the error queue, an overflow error occurs and the last
error in the queue is overwritten with error number -350 (Queue Overflow). Each error in the
queue consists of an error number and a brief error message.
Description of Error Numbers
0
No error
No error has occurred.
-100
Command error
A command error was detected, but the parser cannot be more specific.
-102
Syntax error
The command or data was not recognized.
-103
Invalid separator
The parser was expecting a separator and did not find one.
-104
Data type error
A parameter was not the right type; for example, a string was expected but a non-decimal
numeric was received.
-108
Parameter not allowed
More parameters were received than the command or query requires.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com