Keithley 2601 Reference Manual page 280

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Section 12: Instrument Control Library
digio.trigger[N].mode
Attribute
The trigger operation and detection mode
Usage
trig_mode = digio.trigger[N].mode
digio.trigger [N].mode = mode
N
trig_mode
mode
Choose one the following values for mode:
0 or digio.TRIG_BYPASS
1 or digio.TRIG_FALLING
2 or digio.TRIG_RISING
3 or digio.TRIG_EITHER
4 or digio.TRIG_SYNCHRONOUSA Detects the falling edge input triggers and
5 or digio.TRIG_SYNCHRONOUS
6 or digio.TRIG_SYNCHRONOUSM Detects rising edge triggers as an input.
7 or digio.TRIG_RISINGA
8 or digio.TRIG_RISINGM
Remarks
• You can express the mode as a number (0 through 8) or you can use one of the
pre-defined constants (see "Usage").
• The custom variable mode stores the trigger mode as a numeric value when the attribute
is read.
• The default trigger mode for a line is digio.TRIG_BYPASS.
• To control the line state, use the digio.TRIG_BYPASS mode with the
digio.writebit and the digio.writeport commands.
• (Firmware version prior to 1.4.0 only) Use the digio.TRIG_SYNCHRONOUS mode for
backward firmware compatibility.
• (Firmware version 1.4.0 and higher) Use digio.TRIG_SYNCHRONOUSA or
digio.TRIG_SYNCHRONOUSM modes.
• (Firmware version prior to 1.4.0 only) Use the digio.TRIG_RISING mode for
backward compatibility.
• (Firmware version 1.4.0 and higher) Use digio.TRIG_RISINGA or
digio.TRIG_RISINGM modes.
Details
See
"Controlling digital I/O
Example
-- Sets the trigger mode for the I/O line 7 to digio.TRIG_RISINGM.
digio.trigger [7] = 8
12-20
Replace N with the number of the digital I/O trigger line: 1 to
14.
The trigger line number.
The active trigger mode.
Selects the current trigger mode.
Allows direct control of the line.
Detects falling edge input triggers.
Asserts TTL-low pulse as an output trigger.
If the programmed state of the line is high, the
digio.TRIG_RISING mode behaves similar to
digio.TRIG_RISINGA.
If the programmed state of the line is low, the
digio.TRIG_RISING mode behaves similar to
digio.TRIG_RISINGM.
Detects rising or falling edge triggers.
Asserts a TTL-low trigger pulse.
automatically latches and drives the trigger
line low.
Asserting the output trigger releases the latched
line.
Detects the falling edge input triggers and
automatically latches and drive the trigger
line low.
Asserts a TTL-low pulse as an output trigger.
Asserts a low TTL-low pulse for output.
Detects Rising Edge triggers as an input.
Asserts a low TTL-low pulse as an output.
Edge detection as an input is not available.
Generates a TTL-high pulse as an output trigger.
lines" in
Section
Return to
Section Topics
Series 2600 System SourceMeter® Instruments Reference Manual
.
10, digio.writebit, and
digio.writeport.
2600S-901-01 Rev. C / January 2008

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents