
144
Programming the Enhanced Monitor
Chapter 3
SYSTem:ERRor?
SYStem:ERRor?
returns the error number and corresponding error message string
from the error queue.
Returned Data
Comments
•
The response format is:
error_number, “error description string”
.
•
Error Numbers/Message in the Error Queue: Each error generated by this
instrument driver stores an error number and corresponding error message in
the error queue. The error message can be up to 255 characters long.
•
Clearing the Error Queue: An error number/message is removed from the
queue each time the SYSTem:ERRor? command is sent. The errors are cleared
on a first-in, first-out basis. When the queue is empty, SYSTem:ERRor?
returns 0, “No error”. To clear all error number/messages in the queue, execute
the *CLS command.
•
Maximum Error Numbers/Message in the Error Queue: The queue holds a
maximum of 30 error numbers/messages. If the queue overflows, the last error
number/message in the queue is replaced by -350, “Too many errors”. The
least recent error number/message remains in the queue and the most recent
are discarded.
Reset Condition
*RST does not affect the status system, use *CLS to clear the error queue.
Related
Commands
*CLS
Type
Range
Default
Description
int16
-32768 through 32767
none
Error number
string
none
Error message
Summary of Contents for E8402A
Page 8: ...10 Contents ...
Page 12: ...14 Notes ...
Page 14: ......
Page 26: ...28 Getting Started Chapter 1 ...
Page 42: ...44 Using the Enhanced Monitor Chapter 2 ...
Page 214: ...216 Servicing Your Mainframe Chapter 5 ...
Page 226: ...228 HP E8402 E8404A Product Specifications Appendix A ...