Manual triggering
The TRIG key is used for manual triggering. Each time the TRIG key is pressed, a trigger event is
generated. You can monitor for a manual trigger event using the event ID
display.trigger.EVENT_ID. See Using the TRIG key to trigger a sweep (on page 4-8) for an
example of how to use a manual trigger.
There are no action overruns for manual triggering.
Interactive triggering
The complexity of some test system configurations may not allow a static trigger setup. These
configurations require more dynamic control of triggering than the static trigger setup provides. For
such cases, a setup providing interactive trigger programming allows the generation and detection of
trigger events that can be controlled on demand under remote control. For example, you can use
interactive triggering when you need to make multiple source function changes or implement
conditional branching to other test setups based on recent measurements.
Detecting trigger events using the wait() function
Most of the 2600B trigger objects, except for SMU trigger objects, have built-in event detectors that
monitor for trigger events. The event detector only monitors events generated by that object and
cannot be configured to monitor events generated by any other trigger object. Using the wait()
function of the trigger object causes the 2600B instrument to suspend command execution until a
trigger event occurs or until the specified timeout period elapses.
For example, use trigger.blender[N].wait(Y) to suspend command execution until an event
blender generates an event, where N is the specific event blender and Y is the timeout period. After
executing the wait() function, the event detector of the trigger object is cleared.
The following programming example illustrates how to suspend command execution while waiting for
various events to occur:
-- Wait up to 10 seconds for a front-panel TRIG key press.
display.trigger.wait(10)
-- Wait up to 60 seconds for timer 1 to complete its delay.
trigger.timer[1].wait(60)
-- Wait up to 30 seconds for input trigger to digital I/O line 10.
digio.trigger[10].wait(30)