User`s manual
Agilent E1330B Digital I/O Module Command Reference 85
Chapter 5
DIGital:DATAn[:type][:VALue]?
[SOURce:]DIGital:DATAn[:BYTE][:VALue]? returns the programmed state of
8-bit port n as a decimal number between 0 and 255.
[SOURce:]DIGital:DATAn:WORD[:VALue]? returns the programmed state of
16-bit port n as a decimal number between -32768 and 32767.
[SOURce:]DIGital:DATAn:LWORd[:VALue]? returns the programmed state of
32-bit port n as a decimal number between -2
31
and (2
31
- 1).
Parameters
Comments • This command is only available when using the downloaded SCPI driver.
• The keyword :LW32 may be used instead of :LWORd when using the
download version of the SCPI driver.
• This command returns the programmed state of the data lines, not the actual
state of the data lines.
• :DATAn is the keyword used for commands relating to data output at port n.
The port number n must be the last character of the keyword without spaces.
• Related Commands: [SOURce:]DIGital:DATAn:BITm,
[SOURce:]DIGital:DATAn:POLarity
• *RST Condition: All ports are set for data input.
Example DIG:DATA3? returns the decimal equivalent of the data lines on 8-bit port 3.
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