![background image](http://html2.mh-extra.com/html/keithley/interactive-sourcemeter-2450/interactive-sourcemeter-2450_reference-manual_4033478337.webp)
Section 6: SCPI command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
6-20
2450-901-01 Rev. B/September 2013
:DIGital:LINE<n>:STATe
This command sets a digital I/O line high or low.
Type
Affected by
Where saved
Default value
Command and query
Not applicable
Nonvolatile memory
See
Details
Usage
:DIGital:LINE<n>:STATe <state>
:DIGital:LINE<n>:STATe?
<n>
Digital I/O trigger line (1 to 6)
<state>
Bit low:
0
Bit high:
1
Details
When a reset occurs, the digital line state can be read as high because the digital line is reset to a digital input
(see the mode command). A digital input floats high if nothing is connected to the digital line.
Set the state to zero (
0
) to clear the bit; any non-zero value sets the bit.
Example
:DIG:LINE1:STAT 1
Sets line 1 (bit B1) of the digital I/O port high.
Also see
(on page 3-62)
(on page 6-19)
(on page 6-21)
(on page 6-21)
(on page 6-150)