Interactive SourceMeter® Instrument Reference Manual Section 3:
2461-901-01 A/November 2015 3-95
SCPI command
TSP command
Description
trigger.digout[N].logic (on page 8-245)
:TRIGger:DIGital<n>:OUT:PULSewidth (on page 6-214) This command describes the length of time that the
trigger line is asserted for output triggers.
trigger.digout[N].pulsewidth (on page 8-245)
This command releases an indefinite length or
latched trigger.
trigger.digout[N].release() (on page 8-246)
:TRIGger:DIGital<n>:OUT:STIMulus (on page 6-214)
This command selects the event that causes a trigger
to be asserted on the digital output line.
trigger.digout[N].stimulus (on page 8-247)
To use the trigger model as a stimulus to a digital I/O line, you can use the trigger model Notify
block. For information on the Notify block, see Notify block (on page 3-112).
Digital I/O bit weighting
Bit weighting for the digital I/O lines is shown in the following table. Line 1 is the least significant bit.
Line # Bit Pin Decimal Hexadecimal Binary
Digital I/O programming examples
These examples provide typical methods you can use to work with the digital I/O port.
Outputting a bit pattern
The programming examples below illustrate how to output the bit pattern 110101 at the digital I/O
port. Line 1 (bit 1) is the least significant bit.
Using SCPI commands to configure all six lines as digital outputs:
:DIGital:LINE1:MODE DIGital, OUT
:DIGital:LINE2:MODE DIGital, OUT
:DIGital:LINE3:MODE DIGital, OUT
:DIGital:LINE4:MODE DIGital, OUT
:DIGital:LINE5:MODE DIGital, OUT
:DIGital:LINE6:MODE DIGital, OUT