![Agilent Technologies E1330B Скачать руководство пользователя страница 77](http://html.mh-extra.com/html/agilent-technologies/e1330b/e1330b_users-manual-and-scpi-programming-manual_2867439077.webp)
Agilent E1330B Digital I/O Module Command Reference
75
Chapter 5
DIGital:CONTrol
n
[:VALue]
[SOURce:]DIGital:CONTrol
n
[:VALue] <
value
>
sets or clears the control line on
the selected port n.
Parameters
Comments
•
This command is used to create custom handshakes when the
HANDshake
is
set to
NONE
.
•
:CONTrol
n is the keyword used for commands relating to the control (CTL)
line at port n. The port number n must be the last character of the keyword
without spaces.
•
The control line is used with the flag line to handshake data to and from
peripherals.
•
Related Commands:
[SOURce:]DIGital:CONTrol
n
:POLarity
,
[SOURce:]DIGital:CONTrol
n
:POLarity?
,
[SOURce:]DIGital:FLAG
n
:POLarity
,
[SOURce:]DIGital:FLAG
n
:POLarity?
•
*RST Condition: Clears the control line; i.e., sets the control line to logical 0.
Example
DIG:CONT2 1
sets the 8-bit port 2 control line true.
DIGital:CONTrol
n
[:VALue]?
[SOURce:]DIGital:CONTrol
n
[:VALue]?
reads the state of the control line on port
n and returns a 0 or 1, indicating the logical condition of the CTL line.
Parameters
Comments
•
This command is only available when using the downloaded SCPI driver.
•
This command is used to create custom handshakes when the
HANDshake
is
set to
NONE
.
•
The condition of the CTL line returned by this command is the logical true
value set by the
DIGital:CONTrol
n
:POLarity
command.
Example
DIG:CONT2?
returns the current state of the 8-bit port 2 control line.
Parameter Name
Parameter Type
Range of Values
Default
CONTrol
n
Numeric
none, 0, 1, 2, or 3
0
<
value
>
Boolean
0 or 1, OFF or ON
None
Parameter Name
Parameter Type
Range of Values
Default
CONTrol
n
Numeric
none, 0, 1, 2, or 3
0
Содержание 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 ...