7½ Digit Graphical Sampling Multimeter Reference Manual Section 8:
DMM7510-901-01 Rev. B / May 2015 8-345
Trigger events
Event description Event constant
Trigger event blender N (1 to 2), which combines trigger events
Trigger timer N (1 to 4) expired
trigger.EVENT_ANALOGTRIGGER
Example
print(trigger.tsplinkout[3].stimulus)
Outputs the event that will start action on
Also see
trigger.tsplinkout[N].assert() (on page 8-341)
tsplink.line[N].reset() (on page 8-349)
trigger.wait()
This function waits for a trigger event.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
triggered = trigger.wait(timeout)
A trigger was detected during the timeout period: true
No triggers were detected during the timeout period: false
Maximum amount of time in seconds to wait for the trigger
Details
This function waits up to timeout seconds for a trigger on the active command interface. A
command interface trigger occurs when:
• A GPIB GET command is detected (GPIB only)
• A VXI-11 device_trigger method is invoked (VXI-11 only)
• A *TRG message is received
If one or more of these trigger events were previously detected, 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
triggered = trigger.wait(10)
print(triggered)
Waits up to 10 s for a trigger.
If false is returned, no trigger was detected
during the 10 s timeout.
If true is returned, a trigger was detected.
Also see
trigger.clear() (on page 8-259)