6: SCPI command reference Model 2461 Interactive SourceMeter® Instrument
6-36 2461-901-01 A/November 2015
Set <lineDirection> to one of the values shown in the following table.
Value Description
If the type is digital control, this automatically detects externally generated logic
levels. You can read an input line, but you cannot write to it.
If the type is trigger control, the line automatically responds to and detects
externally generated triggers. It detects falling-edge, rising-edge, or either-edge
triggers as input. This mode uses the edge setting specified by
:TRIGger:DIGital<n>:IN:EDGE.
If the type is digital control, you can set the line as logic high (+5 V) or as logic low
(0 V). The default level is logic low (0 V). When the instrument is in output mode,
the line is actively driven high or low.
If the type is trigger control, it is automatically set high or low depending on the
output logic setting. Use the negative logic setting when you want to generate a
falling edge trigger and use the positive logic setting when you want to generate a
Configures the line to be an open-drain signal. This makes the line compatible with
other instruments that use open-drain digital I/O lines or trigger signals, such as
other Keithley Instruments products.
If the type is digital control, the line can serve as an input, an output or both. You
can read from the line or write to it. When a digital I/O line is used as an input in
open-drain mode, you must write a 1 to it.
If the type is trigger control, you can use the line to detect input triggers or generat
output triggers. This mode uses the edge setting specified by
:TRIGger:DIGital<n>:IN:EDGE.
Only available with the SYNChronous trigger type. This value detects a
falling-edge trigger as an input trigger and automatically latches and drives the
trigger line low. Asserting the output trigger releases the latched line.
Only available with the SYNChronous trigger type. This value detects a
rising-edge trigger as an input. It asserts a TTL-low pulse for output.
Example
Set digital I/O line 1 as a digital output line.
Also see
Digital I/O port configuration (on page 3-87)
:TRIGger:DIGital<n>:IN:EDGE (on page 6-211)
:DIGital:LINE<n>:STATe
This command sets a digital I/O line high or low when the line is set for digital control and returns the state on the
digital I/O lines.
Type Affected by Where saved Default value
Usage
:DIGital:LINE<n>:STATe <state>
:DIGital:LINE<n>:STATe?
The digital I/O line (1 to 6)
Clear the bit (bit low): 0
Set the bit (bit high):