285
Chapter 5, Advanced Operations
Status Reporting
Accessing the Error Message Queue
A message appears in the Error Message Queue any time bit 2, 3, 4, or 5 of the
Standard Event Status register is asserted. Each message consists of a signed error
number, followed by a comma separator, followed by an error description string
in double quotes. The maximum length of the error description string is 255
characters. If more than 20 messages are in the queue and another error occurs, the
last message is replaced with the message,
-350,"Queue overflow"
. If no
messages are in the queue the message,
+0,"No error"
is returned. Reading a
message removes it from the queue. The Error Message Queue is accessed using
the SYSTem command. Returned information is read into a numeric variable
followed by a string variable.
Reading the Error Message Queue
Syntax
SYSTem:ERRor?
Example
OUTPUT 714;"SYST:ERR?"
ENTER 714;Error_num,Error_msg$
Example IBASIC program
10 INTEGER Error_num
20 DIM Error_msg$ [255]
30 OUTPUT 714;"SYST:ERR?"
40 ENTER 714;Error_num,Error_msg$
50 PRINT Error_num;Error_msg$
60 END
Example response
-113 "Undefined header"
Summary of Contents for 8920B
Page 10: ...10 ...
Page 16: ...Contents 16 9 Error Messages Index 673 ...
Page 17: ...17 1 Using HP IB ...
Page 48: ...48 Chapter 1 Using HP IB Remote Local Modes ...
Page 49: ...49 2 Methods For Reading Measurement Results ...
Page 61: ...61 3 HP IB Command Guidelines ...
Page 84: ...84 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Page 85: ...85 4 HP IB Commands ...
Page 90: ...90 Adjacent Channel Power ACP ...
Page 116: ...116 Configure I O Configure ...
Page 156: ...156 Call Processing ...
Page 185: ...185 System System SYSTem ERRor Returns integer value quoted string ...
Page 242: ...242 Common Command Descriptions ...
Page 251: ...251 5 Advanced Operations ...
Page 377: ...377 7 IBASIC Controller ...
Page 458: ...458 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Page 640: ...640 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Page 643: ...643 9 Error Messages ...
Page 672: ...672 ...
Page 682: ...Index 682 ...