User`s manual
Agilent E1330B Digital I/O Module Command Reference 75
Chapter 5
DIGital:CONTroln[:VALue]
[SOURce:]DIGital:CONTroln[: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.
• :CONTroln 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:CONTroln:POLarity,
[SOURce:]DIGital:CONTroln:POLarity?, [SOURce:]DIGital:FLAGn:POLarity,
[SOURce:]DIGital:FLAGn: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:CONTroln[:VALue]?
[SOURce:]DIGital:CONTroln[: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:CONTroln: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