
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-211
trigger.timer[N].stimulus
Remarks
This attribute selects which event will start the timer.
eventid
may be one of the following (existing trigger event ID's):
digio.trigger[line].EVENT_ID: An edge (either rising, falling, or either based on the
configuration of the line) on the digital input line.
display.trigger.EVENT_ID: The trigger key on the front panel is pressed.
trigger.EVENT_ID: A *trg message on the active command interface. If GPIB is
the active command interface, a GET message will also generate this event. Also,
the trigger.set function will generate this event.
trigger.blender[N].EVENT_ID: A combination of events has occurred.
trigger.timer[N].EVENT_ID: A delay expired. These can be expanded to include
LXI alarms.
tsplink.trigger[N].EVENT_ID: An edge (either rising, falling, or either based on the
configuration of the line) on the tsplink trigger line.
lan.trigger[N].EVENT_ID
scan.trigger.EVENT_SCAN_READY: Scan Ready Event.
scan.trigger.EVENT_SCAN_START: Scan Start Event
scan.trigger.EVENT_CHANNEL_READY: Channel Ready Event
scan.trigger.EVENT_MEASURE_COMP: Measure Complete Event
scan.trigger.EVENT_SEQUENCE_COMP: Sequence Complete Event
scan.trigger.EVENT_SCAN_COMP: Scan Complete Event
scan.trigger.EVENT_IDLE: Idle Event
Example
To print the delay:
print(trigger.timer[1].triggerstimulus)
trigger.timer[N].wait
Function
Wait for a trigger.
Usage
triggered = trigger.timer[N].wait(timeout)
N
: is a trigger.timer value (from 1
–4).
timeout
: (In) Maximum amount of time in seconds to wait for the trigger.
triggered
: (Out) Trigger detection indication.
Remarks
This function will wait for a timer trigger. If one or more trigger events were detected
since the last time trigger.timer[N].wait or tsplink.trigger[N].clear was called, this
function will return immediately.
After waiting for a trigger with this function, the event detector will be automatically
reset and rearmed. This is true regardless of the number of events detected.