Keithley 3700 series Reference Manual page 194

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

Advertisement

Section 9: Instrument Control Library (ICL)
digio.trigger[N].clear
Example
digio.trigger[N].mode
Attribute
Usage
Remarks
Example
digio.trigger[N].overrun
Attribute
Usage
Remarks
Example
9-50
Clears trigger event on I/O line 2:
digio.trigger[2].clear()
Trigger operation and detection mode.
To read the trigger mode:
tmode = digio.trigger[N].mode
To write the trigger mode:
digio.trigger[N].mode = tmode
N: Digital I/O trigger line: 1 to 14
Set tmode to one of the following values:
1 or digio.TRIG_FALLING Input: Detects falling edge triggers.
Output: Asserts TTL-low trigger pulse.
2 or digio.TRIG_RISING Input: Detects rising edge triggers.
Output: Asserts TTL-high trigger pulse.
3 or digio.TRIG_EITHER Input: Detects rising or falling edge triggers.
Output: Asserts a TTL-low trigger pulse.
5 or digio.TRIG_SYNCHRONOUS Input: Detects falling edge-triggers, and then latch
and drive them low.
Output: Asserts a TTL-low trigger pulse.
tmode can be expressed as a number (1, 2, 3, or 5) or as one of the pre-defined
constants (see "Usage").
When reading the trigger mode, it is returned as a number.
To set the trigger mode for I/O line 4 to TRIG_RISING:
digio.trigger[4].mode = 2
Event detector overrun status.
overrun = digio.trigger[N].overrun
overrun: (Out) Trigger overrun state.
N: Digital I/O trigger line: 1 to 14
This attribute is a read-only attribute that indicates if an event was ignored because the
event detector was already in the detected state when the event occurred. This is an
indication of the state of the event detector built into the line itself. It does not indicate if
an overrun occurred in any other part of the trigger model or in any other construct that
is monitoring the event. It also is not an indication of an output trigger overrun.
overrun = digio.trigger[1].overrun
print(overrun)  false
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents