
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-227
Details
This function waits up to the timeout value for an input trigger. If one or more trigger events are detected since
the last time this command or
trigger.tsplinkin[
N
].clear()
was called, this function returns
immediately.
After waiting for a trigger with this function, the event detector is automatically reset and rearmed. This is true
regardless of the number of events detected.
Example
tsplink.line[3].mode = tsplink.MODE_TRIGGER_OPEN_DRAIN
triggered = trigger.tsplinkin[3].wait(10)
print(triggered)
Waits up to 10 seconds for a
trigger on TSP-Link
®
line 3.
If
false
is returned, no trigger
was detected during the 10-
second timeout.
If
true
is returned, a trigger was
detected.
Also see
(on page 8-224)
(on page 8-232)
trigger.tsplinkout[N].assert()
This function simulates the occurrence of the trigger and generates the corresponding trigger event.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.tsplinkout[
N
].assert()
N
The trigger line (1 to 3)
Details
Initiates a trigger event and does not wait for completion. The set pulse width determines how long the trigger is
asserted.
Example
tsplink.line[2].mode = tsplink.MODE_TRIGGER_OPEN_DRAIN
trigger.tsplinkout[2].assert()
Asserts trigger on trigger
line 2.
Also see
(on page 8-232)