SECTION3
IEEE-488
Reference
Programming
Examples
3-56
+
12.
Only
terminator
characters
are
sent
if
sweep
data
is
requested
with
the
G
command
while
the
instrument
is
in
the
de
function (see
paragraph
3.6.6).
13.
Error
and
warning
conditions for
the
Q
command
are
described
in
the
Ul
error
status
word
and
U9
warning
status
word
(see
paragraph
3.6.19).
10
DIM
Buffer$[200]
!
Dimension
sweep
buffer
string
20
REMOTE716
!
30
OUTPUT
716;''F0,1X"
!
Source V,
sweep
40 OUTPUT 716;"B1,2,0X"
!
lV
bias,
llV
or
15V
range
50 OUTPUT
716;"L2E-3,8X"
!
2mA
compliance,
lOrnA
range
60
OUTPUT 716;"Q1,1,10,1,2,0X"
!
Linear
stair
sweep,
1
to
lOV,
lV
.
steps,
11
V
or
15V
range
70 OUTPUT
716;"R1X"
!
Enable triggers
80 OUTPUT
716;"N1X"
!
Go
to
operate
90 OUTPUT 716;"HOX"
!
Immediate
bus
trigger
100 OUTPUT 716;"G4,2,2X"
!
Set
format
for
measure
value,
ASCll, all
sweep
data
110 ENTER 716;Buffer$
!
Get
sweep
data
120 OUTPUT
716;''NOX"
!
Go
to
standby
130
PRINT Buffer$
!
Display
sweep
data
140
END
10
DIM
Buffer$[600]
!
Dimension
sweep
buffer
string
20
REMOTE716
!
30 OUTPUT
716;''F0,1X"
!
Source V,
sweep
40 OUTPUT 716;"B1,2,0X"
!
1 V
bias,
11
V
or
15V
range
50 OUTPUT
716;"L2E-3,8X"
!
2mA
compliance,
lOrnA
range
60 OUTPUT716;"Q4,1,10,1,2,500,500X"
!
Linear
stair
pulsed
sweep,
1
to
lOV,
11V
or
15V range,
500msec
on
and
off times
70 OUTPUT 716;"Q10,10,1,1,2,500,500X"
!
Linear
stair
pulsed
sweep,
10
to
lV,
llV
or
15Vrange,
500msec
80 OUTPUT 716;"R1X"
!
Enable triggers
90 OUTPUT
716;''N1X"
!
Go
to
operate
100 OUTPUT
716;''HOX"
!
Immediate
bus
trigger
110 OUTPUT
716;"G4,2,2X"
!
Set
format
for
measure
value,
ASCIT,
all
sweep
data
120 ENTER 716;Buffer$
!
Get
sweep
data
130 OUTPUT
716;''NOX"
!
Go
to
standby
140
PRINT Buffer$
!
Display
sweep
data
150
END
+