To
Get Measuremen
tT
race Using
Binary F
ormat
.
.
.
.
.
.
.
.
.
.
. .
. 3-11
Set
the
Receiv
e
Arra
y
.
.
.
.
.
.
. .
. .
. .
. .
. .
. .
. .
.
.
.
.
3-12
Set
Data
T
ransfer F
ormat .
. .
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
3-12
Read Data
. .
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
. .
. .
. .
.
.
3-12
Data
F
ormats
in
Binary
T
ransferring .
. .
. .
. .
. .
. .
. .
.
.
.
.
3-13
File
Headers .
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
3-14
Sa
ving
a
Data
File
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
3-15
Creating
a
File
to
Con
tain
the
Data
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
3-15
Op
ening the
File and
Transferring
the
Data
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3-15
Data
Lev
els
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
3-16
Calibration
T
yp
es
and
Standard
Classes, and
Calibration Arra
ys .
. .
.
.
.
3-17
4.
Sync
hronizing
the
4395A
with
a
Con
troller
Using
the
*OPC
Command
.
.
.
.
.
.
.
. .
. .
. .
.
.
.
.
.
.
.
.
.
4-2
Susp
ending
a Program
Running on
aCon
troller
(*OPC)
.
.
.
.
.
.
.
.
.
4-2
Using
the
W
AIT
Command
of
BASIC
.
.
.
.
.
.
.
.
.
.
.
. .
. .
. .
. 4-2
Using
the
EXECUTE
Statemen
t
to
Sync
hronize
with
the
Completion
of Sw
eep 4-3
Using
SR
Q
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
4-3
Using the
*WAI
Command .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. 4-4
5.
Status Rep
orting System
and Pro
cessing
Generated
In
terruptions
General
Status
Register
Mo
del
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-2
Ev
en
t
Register
.
.
.
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
5-2
Enable
Register
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
5-3
Status
Byte
Register
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-3
T
ransition
Filter
and
Condition
Register
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
5-3
Status
Register
Structure
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
5-5
Status
Bit
Denitions
of
the Status
Byte
(STB)
.
.
.
.
.
.
.
.
.
.
.
.
5-6
Status
Bit
Denitions
of
ESB,
ESR,
and
OSR
.
.
.
. .
. .
.
.
.
.
.
.
5-7
OSPT,
OSNT
.
.
.
.
.
.
.
.
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5-9
OSPT
(Op
eration
Status
P
ositiv
e
T
ransition
Filter)
.
.
.
.
.
.
.
. .
. .
5-9
OSNT
(Operation
Status Negativ
e
T
ransition
Filter)
.
.
.
.
.
.
.
.
.
.
5-9
Ho
w
to
Use
the
Status
Registers in
a Program
. .
.
.
.
.
.
.
.
.
.
.
.
.
5-10
Reading
an
Ev
en
t
Register
Directly
.
.
.
.
.
.
. .
. .
. .
.
.
.
.
.
.
5-10
T
oRep
ort
Command
Error
Occurrence
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
5-11
Enable Error
Bit .
. .
. .
. .
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
. .
5-11
Rep
ort
Command
Error
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
5-12
Output
Error .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . 5-12
Return to Execute GPIB command
. . . . . . . . . . .
. . . . . . . 5-13
ToW
ait for Sw
eep End
. . . . . . . . . . . . . . . . . . . . . . .
. 5-14
Enable Sw
eep-End Bit .
. . . . . . . . . . . . . . . .
. . . . . . . 5-14
Enable SR
QIn
terrupt .
. . . . .
. . . . . . . . . . . . . . . . . . 5-15
Wait Un
til Measurement Is Done
. . . . . . . . . . . . . . . . .
. . 5-15
Generate SR
Q . . . . . . . . . . . .
. . . . . . . . . . . . . . . 5-15
Contents-2