2600S-901-01 Rev. C / January 2008
Return to
12-21
Series 2600 System SourceMeter® Instruments Reference Manual
Section 12: Instrument Control Library
digio.trigger[N].overrun
Replace N with the number of the digital I/O trigger line: 1 to
14
Attribute
Use this attribute to read the trigger overrun status.
Usage
overrun = digio.trigger[N].overrun
overrun
The trigger overrun state
.
Remarks
• A read only attribute.
• Indicates an event was ignored because the event detector was in the detect state when
the event was detected.
digio.trigger[N].pulsewidth
Replace N with the number of the digital I/O trigger line: 1 to
14.
Attribute
The length of time that the trigger line will be asserted for output triggers.
Usage
width = digio.trigger[N].pulsewidth
Reads pulse width.
digio.trigger[N].pulsewidth = width
Writes pulse width.
width
The pulse width length (seconds).
Remarks
• Setting pulsewidth to 0 (seconds) asserts the trigger indefinitely.
• The default pulsewidth time is 10µs.
Details
See “
.
Also see
Example
--
Sets the pulse width for trigger line 4 to 20µs
:
digio.trigger[4].pulsewidth = 20e-6
digio.trigger[N].release
Replace N with the number of the digital I/O trigger line: 1 to
14.
Function
Releases an indefinite length or latched trigger
.
Usage
digio.trigger[N].release()
Remarks
Releases a trigger that was asserted with an indefinite pulse width, as well as a trigger that
was latched in response to receiving a synchronous mode trigger.
Details
See “
.
Also see
Example
Releases trigger line 4
:
digio.trigger[4].release()
digio.trigger[N].wait
Replace N with the number of the digital I/O trigger line: 1 to
14.
Function
Waits for a trigger
.
Usage
triggered = digio.trigger[N].wait(timeout)
timeout
Specifies the time-out value in seconds.
triggered
A customized variable that stores the value true if a
trigger is detected, or false if a trigger is not
detected during the time-out period.
Remarks
This function waits up to the
timeout
value in seconds for an input trigger. If one or more
trigger events are detected since the last t
ime
digio.trigger[N].wait
or
digio.trigger[N].clear
was
called, this function immediately returns. 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.
Details
See “
.
Also see