6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument
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
Usage
:DIGital:LINE<n>:STATe <state>
:DIGital:LINE<n>:STATe?
Digital I/O trigger line (1 to 6)
Bit low: 0
Bit high:
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
Sets line 1 (bit B1) of the digital I/O port high.
Also see
Digital I/O port (on page 3-62)
:DIGital:LINE<n>:MODE (on page 6-19)
:DIGital:READ? (on page 6-21)
:DIGital:WRITe <n> (on page 6-21)
:TRIGger:DIGital<n>:IN:EDGE (on page 6-150)