
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-50
Document Number: 3700S-901-01 Rev. A / August 2007
digio.trigger[N].clear
Example
Clears trigger event on I/O line 2:
digio.trigger[2].clear()
digio.trigger[N].mode
Attribute
Trigger operation and detection mode.
Usage
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.
Remarks
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.
Example
To set the trigger mode for I/O line 4 to TRIG_RISING:
digio.trigger[4].mode = 2
digio.trigger[N].overrun
Attribute
Event detector overrun status.
Usage
overrun = digio.trigger[N].overrun
overrun
: (Out) Trigger overrun state.
N
: Digital I/O trigger line: 1 to 14
Remarks
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.
Example
overrun = digio.trigger[1].overrun
print(overrun)
false