![background image](http://html1.mh-extra.com/html/keithley/3700-series/3700-series_reference-manual_3931523289.webp)
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-145
lan.trigger[N].clear
Also see
lan.trigger[N].assert
(on page 9-143)
lan.trigger[N].overrun
(on page 9-146)
lan.trigger[N].triggersource
(on page 9-146)
lan.trigger[N].wait
(on page 9-147)
Example
To clear the event detector with LAN packet 5:
lan.trigger[5].clear()
lan.trigger[N].mode
Attribute
Sets the trigger operation/detection mode.
Usage
To read the trigger operation/detection mode:
mode = lan.trigger[lanevent].mode
To write the trigger operation/detection mode:
mode = lan.trigger[lanevent].mode
lanevent:
The LAN event number (1-8).
mode:
Trigger mode (1-7).
Remarks
This attribute controls the mode in which the trigger event detector, as well as the
output trigger generator, will operate on the given trigger. These settings are intended
to provide behavior similar to the digital I/O triggers. When setting,
mode
can be one
of the following values:
lan.TRIG_EITHER
(or 0): Detect rising or falling edge (positive or negative state)
trigger packets as input. Generate a LAN trigger packet with a negative state for
output.
lan.TRIG_FALLING
(or 1): Detect falling edge (negative state) trigger packets as
input. Generate a LAN trigger packet with a negative state for output.
lan.TRIG_RISING
(or 2): Detect rising edge (positive state) trigger packets as
input. Generate a LAN trigger packet with a positive state for output.
lan.TRIG_RISINGA
(or 3): Same as TRIG_RISING. Detect rising edge (positive
state) trigger packets as input. Generate a LAN trigger packet with a positive state
for output.
lan.TRIG_RISINGM
(or 4): Same as TRIG_RISING. Detect rising edge (positive
state) trigger packets as input. Generate a LAN trigger packet with a positive state
for output.
lan.TRIG_SYNCHRONOUS
(or 5): Detect falling edge (negative state) trigger
packets as input. Generate a LAN trigger packet with a positive state for output.
lan.TRIG_SYNCHRONOUSA
(or 6): Detect falling edge (negative state) trigger
packets as input. Generate a LAN trigger packet with a positive state for output.
lan.TRIG_SYNCHRONOUSM
(or 7): Detect rising edge (positive state) trigger
packets as input. Generate a LAN trigger packet with a negative state for output.
The default trigger mode for a trigger is TRIG_EITHER.
TRIG_SYNCHRONOUS is provided for compatibility with the digital I/O triggering on
older firmware. Use of TRIG_SYNCHRONOUSA or TRIG_SYNCHRONOUSM
(instead of TRIG_SYNCHRONOUS) is preferred.