Section 11: TSP command reference Model 2601B-PULSE System SourceMeter Instrument Reference Manual
11-376 2601B-PULSE-901-01A April 2020
Occurs when a *TRG command is received on the
remote interface
GPIB only: Occurs when a GET bus command is
received
USB only: Occurs when a USBTMC TRIGGER message
is received
VXI-11 only: Occurs with the VXI-11 command
device_trigger; reference the VXI-11 standard for
additional details on the device trigger operation
trigger.blender[N].EVENT_ID
Occurs after a collection of events is detected
trigger.timer[N].EVENT_ID
Occurs when a delay expires
trigger.generator[N].EVENT_ID
Occurs when the trigger.generator[N].assert()
function is executed
* Use the name of the trigger event ID to set the stimulus value rather than the numeric value. Using the name makes the
code compatible for future upgrades (for example, if the numeric values must change when enhancements are added to the
instrument).
Example
print(tsplink.trigger[3].stimulus)
Prints the event that will start TSP-Link
trigger line 3 action.
Also see
tsplink.trigger[N].assert() (on page 11-369)
tsplink.trigger[N].reset() (on page 11-374)
tsplink.trigger[N].wait()
This function waits for a trigger.
Usage
triggered = tsplink.trigger[N].wait(timeout)
Trigger detection indication; set to one of the following values:
true: A trigger is detected during the timeout period
false: A trigger is not detected during the timeout period
The trigger line (1 to 3)
The timeout value in seconds
Details
This function waits up to the timeout value for an input trigger. If one or more trigger events were
detected since the last time tsplink.trigger[N].wait() or tsplink.trigger[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.