269
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"
Содержание 8921A
Страница 14: ...14 ...
Страница 17: ...Contents 17 3 HP IB Command Guidelines Sequential and Overlapped Commands 72 Guidelines for Operation 73 ...
Страница 24: ...Contents 24 9 Error Messages ...
Страница 25: ...Contents 25 Index 593 ...
Страница 26: ...Contents 26 ...
Страница 27: ...27 1 Using HP IB ...
Страница 58: ...58 Chapter 1 Using HP IB Remote Local Modes ...
Страница 59: ...59 2 Methods For Reading Measurement Results ...
Страница 71: ...71 3 HP IB Command Guidelines ...
Страница 94: ...94 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 95: ...95 4 HP IB Commands ...
Страница 100: ...100 Adjacent Channel Power ACP ...
Страница 150: ...150 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 173: ...173 System System SYSTem ERRor Returns integer value quoted string ...
Страница 236: ...236 Triggering Measurements ...
Страница 237: ...237 5 Advanced Operations ...
Страница 350: ...350 Chapter 6 Memory Cards Mass Storage Using Memory Cards Figure 20 Inserting a Memory Card ...
Страница 360: ...360 Chapter 6 Memory Cards Mass Storage Using External Disk Drives ...
Страница 361: ...361 7 IBASIC Controller ...
Страница 442: ...442 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 559: ...559 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 562: ...562 Chapter 8 Programming The Call Processing Subsystem Example Programs ...
Страница 563: ...563 9 Error Messages ...
Страница 592: ...592 ...