Programming Example
To read the entire contents of the error queue, run the following program:
10 DIM B$[160]
20
OUTPUT 719; "SYST:ERR?"
30
ENTER 719; A,B$
40
PRINT A,B$
50 IF A<>0 THEN 20
60 END
Performing Fundamental Synthesizer Operations
To Read the Contents of the Error Queue
Dimensions array B
to accept 160 characters.
$
Queries the oldest uncleared error number and
message in the HP-IB error queue.
Enters the error number into variable A and the
HP-IB error message into variable B
Prints the error number and HP-IB error mes-
sage to the controller screen.
Returns to line 20 if there are more errors in the
queue.
.
$
2-11