User`s manual

76 Agilent E1330B Digital I/O Module Command Reference
Chapter 5
DIGital:DATAn[:type]:BITm
[SOURce:]DIGital:DATAn[:BYTE]:BITm <value> sets bit m on 8-bit port n.
[SOURce:]DIGital:DATAn:WORD:BITm <value> sets bit m on 16-bit port n.
[SOURce:]DIGital:DATAn:LWORd:BITm <value> sets bit m on 32-bit port n.
Parameters
Comments :DATAn and :BITm are the keywords used to write data to port n and bit m.
The port number n and bit number m must be the last character of the keyword
without spaces.
For 16-bit operations using :WORD, n must be 0 or 2.
For 32-bit operations using :LWORd, n must be 0.
The keyword :LW32 may be used instead of :LWORd when using the
download version of the SCPI driver.
Related Commands: [SOURce:]DIGital:DATAn:POLarity,
[SOURce:]DIGital:DATAn[:VALue]
*RST Condition: All ports are set for data input.
Example DIG:DATA3:BIT4 1 sets bit 4 (the 5th bit) of port 3 to logical 1.
Parameter Name Parameter Type Range of Values Default
DATA
n
Numeric BYTE
WORD
LWORd
none, 0, 1, 2, or 3
none, 0 or 2
none or 0
0
BIT
m
Numeric BYTE
WORD
LWORd
0–7
0–15
0–31
0
<
value>
Numeric 0 or 1 None