6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument
6-150 2450-901-01 Rev. B/September 2013
:TRIGger:DIGital<n>:IN:EDGE
This command sets the logic on which the trigger event detector and the output trigger generator operate on the
given trigger line.
Type Affected by Where saved Default value
Instrument reset
Power cycle
Usage
:TRIGger:DIGital<n>:IN:EDGE <triggerLogic>
:TRIGger:DIGital<n>:IN:EDGE?
Digital I/O trigger line (1 to 6)
The trigger logic value: FALLing, RISing, or EITHer
See
for descriptions of values
Details
Set <triggerLogic> to one of the following values:
Trigger mode values
Value Description
Detects falling-edge triggers as input when the line is configured as an input
or open drain.
Detects rising-edge triggers as input when the line is configured as an open
drain.
Detects rising- or falling-edge triggers as input when the line is configured as
an input or open drain.
When the line is programmed to be used as a trigger line (see the mode command), the output state of the I/O
line is controlled through the trigger logic specified by this command.
To directly control the line state, set the mode of the line to digital and use the write command. When in digital
mode with the line configured for open drain, the edge setting asserts a TTL low-pulse for output. When the
digital line mode is set for open drain, the edge settings assert a TTL low-pulse for output.
Example
:DIG:LINE4:MODE TRIG,IN
:TRIG:DIG4:IN:EDGE RIS
Sets the input trigger mode for I/O line 4 to
detect rising-edge triggers as input.
Also see
:DIGital:LINE<n>:MODE (on page 6-19)
:DIGital:WRITe <n> (on page 6-21)
:TRIGger:DIGital<n>:IN:CLEar (on page 6-149)
Digital I/O port (on page 3-62)