![Agilent Technologies E1330B User'S Manual And Scpi Programming Manual Download Page 87](http://html.mh-extra.com/html/agilent-technologies/e1330b/e1330b_users-manual-and-scpi-programming-manual_2867439087.webp)
Agilent E1330B Digital I/O Module Command Reference
85
Chapter 5
DIGital:DATA
n
[:type][:VALue]?
[SOURce:]DIGital:DATA
n
[:BYTE][:VALue]?
returns the programmed state of
8-bit port n as a decimal number between 0 and 255.
[SOURce:]DIGital:DATA
n
:WORD[:VALue]?
returns the programmed state of
16-bit port n as a decimal number between -32768 and 32767.
[SOURce:]DIGital:DATA
n
: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.
•
:DATA
n 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:DATA
n
:BIT
m,
[SOURce:]DIGital:DATA
n
: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
Summary of Contents for E1330B
Page 2: ......
Page 10: ...8 Notes ...
Page 11: ...9 Notes ...
Page 12: ...10 Notes ...
Page 32: ...30 Configuring the Agilent E1330B Digital I O Chapter 2 Notes ...
Page 42: ...40 Using the Agilent E1330B Digital I O Module Chapter 3 Notes ...
Page 58: ...56 Understanding the Agilent E1330B Digital I O Module Chapter 4 Notes ...
Page 104: ...102 Agilent E1330B Digital I O Module Command Reference Chapter 5 Notes ...