![NI GPIB-410 Скачать руководство пользователя страница 112](http://html1.mh-extra.com/html/ni/gpib-410/gpib-410_user-manual_1685507112.webp)
Appendix E
Using the Pattern Generator
© National Instruments Corp.
E-3
GPIB-410 User Manual
•
The expression
line_mnemonic
can be any of the following
terms:
D1
D5
EOI
IFC
D2
D6
ATN
NRFD
D3
D7
SRQ
NDAC
D4
D8
REN
DAV
DATA
(specifies all 8 data lines)
CONTROL
(specifies all 8 control lines)
ALL
(specifies all 16 signal lines)
Any number of the above terms can be included in the
expression
line_mnemonic...
, although no specific signal
line should be mentioned more than once. In general, the SET
command requires at least one
operator
followed by at least
one
line_mnemonic
.
Examples of SET:
a.
set + atn - nrfd ndac
;
assert ATN,
; clear NRFD/NDAC
b.
set + data
;
assert all data
; lines
c.
set - all + atn ren
;
clear all lines,
; assert ATN/REN
As the last example implies, ordering is important when any of
the composite references DATA, CONTROL, or ALL are used
along with references to specific signal lines. If the expression
had been written like the following example, the net result
would be the clearing of all lines in the pattern to zero.
set + atn ren - all
(2) HANDSHAKE string
This command is used to source handshake the specified string of
bytes onto the GPIB. These bytes are interpreted as either data or
commands, depending on the state of the ATN line. The number of
new patterns placed into the pattern buffer by this command equals
the number of bytes specified in the expression string. The syntax