Keithley 3700 series Reference Manual page 196

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 9: Instrument Control Library (ICL)
digio.trigger[N].stimulus
Remarks
Example
digio.trigger[N].wait
Function
Usage
Remarks
Also see
9-52
This attribute selects which event(s) will cause digital output line to assert a trigger. Set
this attribute to 0 to bypass waiting for an event.
eventid may be one of the following (existing trigger event ID's):
digio.trigger[N].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.
trigger.blender[N].EVENT_ID: A combination of events has occurred.
trigger.timer[N].EVENT_ID: A delay expired.
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
To set the trigger stimulus of digital I/O line 3 to be the channel ready event during a
scan:
digio.trigger[3].stimulus = scan.EVENT_CHANNEL_READY
To clear the trigger stimulus of digital I/O line 3:
digio.trigger[3].stimulus = 0
Waits for a trigger.
triggered = digio.trigger[N].wait(timeout)
N: Digital I/O trigger line: 1 to 14
timeout: Set timeout in seconds.
triggered: Returns `true' if a trigger was detected, or `false' if no triggers were
detected during the timeout period.
This function will wait up to timeout seconds for an input trigger. If one or more trigger
events were detected since the last time digio.trigger[N].wait (this function) or
digio.trigger[N].clear
(on page 9-49) was called, this function will return immediately.
After waiting for a trigger with this function, the event detector will be automatically
reset and re-armed. This is true regardless of the number of events detected.
digio.trigger[N].clear
(on page 9-49)
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents