19-34
Return to
2600AS-901-01 Rev. B / September 2008
Section 19: Remote Commands
Series 2600A System SourceMeter® Instruments Reference Manual
Remarks
• You can express the mode as a number (0 through 8) or you can use one of the
pre-defined constants.
• 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
. In this mode, the line can be directly
controlled as a digital I/O line. When programmed to any other mode, the output state of the I/O
line is controlled by the trigger logic and the user-specified output state of the line will be ignored.
• To control the line state, use the
digio.TRIG_BYPASS
mode with the
digio.writebit
and the
digio.writeport
commands.
Details
See
.
Also see
,
Example
Sets the trigger mode for the I/O line 7 to
digio.TRIG_RISINGM
:
digio.trigger[7] = 8
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 detector overrun status.
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage
overrun = digio.trigger[n].overrun
overrun
The trigger overrun state.
n
The trigger line.
Remarks
• A read-only attribute.
• Indicates an event was ignored because the event detector was in the detected state when the
event was detected.
• Indicates the overrun state of the event detector built into the line itself.
• It does not indicate whether an overrun occurred in any other part of the trigger model or in any
other detector that is monitoring the event.
• It does not indicate output trigger overrun. Output trigger overrun indications are provided in the
status model.
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.
Default
10e-6.
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage
width = digio.trigger[n].pulsewidth
-- Reads pulse width.
digio.trigger[n].pulsewidth = width
-- Writes pulse width.
width
The pulse width (seconds).
n
The trigger line.
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