![Agilent Technologies E1330B Скачать руководство пользователя страница 78](http://html.mh-extra.com/html/agilent-technologies/e1330b/e1330b_users-manual-and-scpi-programming-manual_2867439078.webp)
76 Agilent E1330B Digital I/O Module Command Reference
Chapter 5
DIGital:DATA
n
[:type]:BIT
m
[SOURce:]DIGital:DATA
n
[:BYTE]:BIT
m
<
value
>
sets bit m on 8-bit port n.
[SOURce:]DIGital:DATA
n
:WORD:BIT
m
<
value
>
sets bit m on 16-bit port n.
[SOURce:]DIGital:DATA
n
:LWORd:BIT
m
<
value
>
sets bit m on 32-bit port n.
Parameters
Comments
•
:DATA
n and
:BIT
m 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:DATA
n
:POLarity
,
[SOURce:]DIGital:DATA
n
[: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
Содержание E1330B
Страница 2: ......
Страница 10: ...8 Notes ...
Страница 11: ...9 Notes ...
Страница 12: ...10 Notes ...
Страница 25: ...Configuring the Agilent E1330B Digital I O Module 23 Chapter 2 Figure 2 6 J1 and J2 Connector Pinouts ...
Страница 32: ...30 Configuring the Agilent E1330B Digital I O Chapter 2 Notes ...
Страница 42: ...40 Using the Agilent E1330B Digital I O Module Chapter 3 Notes ...
Страница 58: ...56 Understanding the Agilent E1330B Digital I O Module Chapter 4 Notes ...
Страница 104: ...102 Agilent E1330B Digital I O Module Command Reference Chapter 5 Notes ...
Страница 146: ...144 Error Messages Appendix C Notes ...