Chapter 5 Errors
Introduction
5-2
Programming Guide
Introduction
This chapter explains how to read any errors from the Counter, discusses the types
of errors, and provides a table of all of the Counter ’s errors and their probable
causes.
Displaying Errors
When an HP-IB error is detected, the
HP-IB XXX
message will appear on the
front-panel display, where XXX indicates the error number found in Table 5-2.
The front-panel error messages are most easily seen if the Counter is in Single
(:INIT:CONT OFF) or in the menu display mode.
(When the Counter is configured to display measurement results,
the measurements will overwrite the HP-IB error messages.)
Reading an Error
Executing the :SYSTem:ERRor? command reads the oldest error from the error
queue and erases that error from the queue. The :SYST:ERR? response has the
form:
<
error number
>, <
error string
>
An example response is:
-113, “Undefined header ”
Positive error numbers are specific to the Counter. Negative error numbers are
command language related and are discussed later in this chapter.
All errors set a corresponding bit in the Standard Event Status Register (see the
section titled “Standard Event Status Register Group” on page 3-2 4 of Chapter 3).
The following short program reads all errors (one at a time, oldest to newest) from
the error queue. After each error is read, it is automatically erased from the error
queue. When the error queue is empty (that is, all errors have been read from the
queue),
further queries return the
+0, “No error”
response.
Summary of Contents for 53131A
Page 1: ...Programming Guide HP 53131A 132A 225 MHz Universal Counter ...
Page 2: ......
Page 13: ...1 1 Before You Start ...
Page 24: ...Chapter 1 Before You Start Related Documentation 1 12 Programming Guide ...
Page 25: ...2 2 Command Summary A Quick Reference ...
Page 68: ...Chapter 2 Command Summary RST Response 2 44 Programming Guide ...
Page 69: ...3 3 Programming Your Universal Counter for Remote Operation ...
Page 167: ...4 4 Command Reference A Dictionary ...
Page 310: ...Chapter 4 Command Reference WAI Wait to Continue Command 4 144 Programming Guide ...
Page 311: ...5 5 Errors ...
Page 329: ......
Page 330: ...H Manual Part Number 53131 90044 Printed in U S A NOVEMBER 1996 ...