Example: Generate
a
Service Request for External
Modulation Input
(High
or
Low)
18
I:IIJTPI-IT
71'3;
":STHT: QIJES:
tKC1:
Et433
3"
:38
iIil-lTPl)T
714;
ll+:;RE
::;I1
48
IF
SPIIlLL
(7
1'3
:I
THE14
FFF:
1
t.IT
II
Ext.
.
t$:ld.
1
rlpijt.
Hi
qh
...'L~J
Cl&.
PlZt.
elj
58
IIILlTPlJT
71'3;
"+lI:LS"
ceJ8
Et.jD
20
IIII-ITF'I-IT
71'3;
"STFIT: QIJES:
EHHB
12:8"
Line
10
Enables bits
0
and
1
(decimal equivalent
3)
in the
MODulation register. Enabling these bits masks other
bits in the MODulation register from reporting their
status in the summary bit to QUEStionable.
Enables bit
7
(decimal equivalent 128) in the
QUEStionable register. Enabling this bit masks other
bits in the QUEStionable register from reporting their
status in the summary bit to STATUS.
Enables bit
3
(decimal equivalent
8)
of
the STATUS
register. Enabling
this
bit masks other bits from
reporting.
Uses the HP Basic command, SPOLL, (Serial
Poll)
to see if the service request bit
is
reporting any
interrupts.
Clears
all
status registers. Clearing the status registers
is not absolutely necessary, but is used here because
of the unknown state of the instrument.
Line 20
Line
30
Line
40
Line
50
2-10
HP-IB Programming