
Reading
Instrument
Errors
When
debugging
a
program,
y
ou
may
w
an
t
to
kno
w
if
an
instrumen
t
error
has
o ccurred.
Some
instrumen
ts
can
display
error
messages
on
their
fron
t
panels.
If
y
our
instrumen
t
cannot
do
this,
y
ou
can
put
the
follo wing
co de
segmen
t
in
y
our
program
to
read
and
display
error
messages.
10
!
20
!
The
rest
of
your
30
!
variable
declarations
40
!
50
DIM
Err_msg$[75]
60
INTEGER
Err_num
70
!
80
!
Part
of
your
program
90
!
that
generates
errors
100
!
110
!
200
REPEAT
210
OUTPUT
@Box;":SYST:ERR?"
220
!
Query
instrument
error
230
ENTER
@Box;Err_num,Err_msg$
240
!
Read
error
#,
message
250
Err_num,Err_msg$
260
!
error
message
270
UNTIL
Err_num
=
0
280
!
Repeat
until
no
errors
290
!
300
!
The
rest
of
your
program
310
!
1-76
Getting
Started
Programming
Summary of Contents for 8360B
Page 10: ...Declaration of Conformity x ...
Page 53: ...Figure 1 12 Typical Diode Detector Response at 25 C Getting Started Advanced 1 25 ...
Page 136: ...Figure 1 34 Typical Status Register Bit Changes 1 108 Getting Started Programming ...
Page 141: ...Figure 1 38 Inside an Event Detection State Getting Started Programming 1 113 ...
Page 154: ...4ALC5 Figure A 1 ALC System Simplified Block Diagram Operating and Programming Reference A 5 ...
Page 363: ...SCPI STATUS REGISTER STRUCTURE S 56 Operating and Programming Reference ...
Page 364: ...SCPI STATUS REGISTER STRUCTURE Operating and Programming Reference S 57 ...
Page 406: ...2b Menu Maps Menu Maps 2b 1 ...
Page 407: ......
Page 408: ......
Page 409: ......
Page 410: ......
Page 411: ......
Page 412: ......
Page 413: ......
Page 414: ......
Page 415: ......
Page 438: ...Figure 3 1 AC Power Cables Available Installation 3 5 ...