Measurement Computing Digital488/80A User Manual
Page 51
![background image](https://www.manualsdir.com/files/797791/content/doc051.png)
Command
Syntax
Description
H
Handshake
Hn
Define handshake line
n
to be pulsed, where
n = 0
,
1
, or
2
.
H0
Define the Clear output line to be pulsed.
H1
Define the Data Strobe output line to be pulsed.
H2
Define the Trigger output line to be pulsed.
H?
Returns the last Handshake command executed.
I
Invert
Ival
Define the polarity of the handshake and data lines, where
000
≤
val
≤
127
, as summed from the following states:
•
0
- (Default) All handshaking/control lines are active
high, all data lines are high true.
•
1
- The Inhibit output line is active low.
•
2
- The Trigger output line is active low.
•
4
- The Data Strobe output line is active low.
•
8
-
The Clear output line is active low.
•
16
-
The Data lines are low true.
•
32
- The EDR input line is falling-edge sensitive.
•
64
-
The Service input line is falling-edge sensitive.
I?
Returns the last Invert command executed.
Note:
The Invert commands are
OR
ed together as received. To delete
any one command, it is necessary to program the default
mode
I0
, then reprogram the desired commands.
K
End-Or-Identify
Kn
Define mode
n
of
EOI
, where
n = 0
or
1
.
K0
(Default)
EOI
enabled; assert
EOI
on last byte transferred.
K1 EOI
disabled; do not assert
EOI
on last byte transferred.
K?
Returns the current
EOI
selection.
L
Buffer
Ln
Clear the internal data buffer, where
n = 0
only.
L?
Returns the number of port readings in the internal data buffer
(from
0
to
2000
).
M
Service Request
Mask
Mmask
Define the Service Request (
SRQ
) conditions, where
00
≤
mask
≤
31
, as summed from the following states:
•
0
- (Default)
SRQ
is disabled.
•
1
-
SRQ
on Service input transition.
•
2
-
SRQ
on EDR input transition.
•
4
-
SRQ
on IEEE 488 bus error.
•
16
-
SRQ
on Ready.
Note:
The Service Request Mask commands are
OR
ed together as
received. To delete any one command, it is necessary to
program the default mode
M0
, then reprogram the desired
commands.
O
Recall Configuration
Oval
Load configuration
val
, where
val =
value from
0
to
100
.
O?
Returns currently loaded configuration
val
.
P
Port Select
Pn
Select port(s)
n
for data I/O, where
n =
value from
0
to
5
.
P0
(Default) Select all 5 ports.
P1
Select Port 1.
P2
Select Port 2.
P3
Select Port 3.
P4
Select Port 4.
P5
Select Port 5.
P?
Returns current port(s) selection
n
.
Q
Inhibit
Qn
Define mode
n
of Inhibit output line, where
n = 0
or
1
.
Q0
Clear the Inhibit line (return to unasserted state).
Q1
Set the Inhibiti line (place in the asserted state).
Q?
Returns current Inhibit output line mode
n
.
Digital488/80A User’s Manual
967695
Digital488/80A Commands 45