Chapter 5 Errors
Error Queue
5-4
Programming Guide
5
Error Queue
As errors are detected, they are placed in an error queue. The error queue
is a first in, first out queue. That is, if more than one error has occurred,
the first error in the queue is read out with :SYST:ERR?. Subsequent
responses to :SYST:ERR? continue until the queue is empty.
If the error queue overflows, the last error in the queue is replaced with
error
−
350, “Queue overflow”
. Any time the queue overflows, the least
recent errors remain in the queue, and the most recent error is discarded.
The length of the Counter's error queue is 10 (9 positions for the error
messages, and 1 position for the “Queue overflow” error). Reading an error
from the head of the queue removes that error from the queue, and opens
a position at the tail of the queue for a new error, if one is subsequently
detected. When all errors have been read from the queue, further error
queries return
+0, “No error”
.
The error queue is cleared when any of the following events occur:
•
Power-on.
•
Receipt of a *CLS command.
•
The last item is read from the queue.
Summary of Contents for 53150A Series
Page 1: ... Programming Guide HP 53150A 151A 152A Microwave Frequency Counter ...
Page 2: ......
Page 10: ...Contents x Programming Guide ...
Page 11: ...1 Before You Start ...
Page 20: ...Chapter 1 Before You Start Related Documentation 1 10 Programming Guide 1 ...
Page 21: ...2 Command Summary A Quick Reference ...
Page 41: ...3 Programming Your Counter for Remote Operation ...
Page 101: ...4 Command Reference A Dictionary ...
Page 162: ...Chapter 4 Command Reference Common Commands 4 62 Programming Guide 4 ...
Page 163: ...5 Errors ...
Page 174: ...Chapter 5 Errors Error Types 5 12 Programming Guide 5 ...
Page 184: ......
Page 186: ... Manual Part Number 53150 90002 Printed in U S A NOVEMBER 1997 ...