![Tektronix Keithley SourceMeter 2470 Reference Manual Download Page 310](http://html1.mh-extra.com/html/tektronix/keithley-sourcemeter-2470/keithley-sourcemeter-2470_reference-manual_1078034310.webp)
Section 8: Triggering
2470 High Voltage SourceMeter Instrument Reference Manual
8-12
2470-901-01 Rev. A /
May
2019
The programming example below illustrates how to clear triggers, turn on the SMU output, and then
enable a 30-second timeout to wait for a command interface trigger. When the trigger is received, the
instrument performs a voltage reading.
-- Clear any previously detected command interface triggers.
trigger.clear()
-- Turn on output.
smu.source.output = smu.ON
-- Wait 30 seconds for a command interface trigger.
triggered = trigger.wait(30)
-- Get voltage reading.
reading = smu.measure.read()
-- Send command interface trigger to trigger the measurement.
*TRG
*TRG
cannot be used in a script. It must be sent from a remotely connected host computer.
Digital I/O
The 2470 digital I/O port provides six independently configurable digital input/output lines.
You can use these lines for digital control by writing a bit pattern to the digital I/O lines. Digital control
is used for applications such as providing binning codes to a component handler. Digital control uses
the state of the line to determine the action to take.
You can also use these lines for triggering by using the transition of the line state to initiate an action.
The instrument can generate output trigger pulses and detect input trigger pulses. Triggering is used
for applications such as synchronizing the operations of a source-measurement instrument with the
operations of other instruments.
You cannot configure or directly control the digital I/O lines from the front panel. To configure and
control any of the six digital input/output lines, you need to send commands to the 2470 over a
remote interface. You can use either the SCPI or TSP command set.
See
Remote communications interfaces
(on page 2-9) for information about setting up a remote
interface and choosing a command set.