Keithley SourceMeter 2600 Series Reference Manual page 297

Table of Contents

Advertisement

Series 2600 System SourceMeters Reference Manual
digio.trigger[N].wait
Function
Waits for a trigger.
Usage
triggered = digio.trigger[N].wait(timeout)
timeout
triggered
Remarks
This function will wait up to
events were detected since the last time
digio.trigger[N].clear
waiting for a trigger with this function, the event detector will be automatically reset and
re-armed. This is true regardless of the number of events detected.
Details
See
"Controlling digital I/O
Also see
digio.trigger[N].clear
Example
Waits up to three seconds for a trigger to be detected on trigger line 4, then displays if
the trigger was detected:
triggered = digio.trigger[4].wait(3)
print(triggered)
Output:
digio.writebit
Function
Sets a digital I/O line high or low.
Usage
digio.writebit(bit, data)
bit
data
• If the output line is write protected, via the
Remarks
will be ignored.
• The
Details
See
"Controlling digital I/O
Also see
digio.readbit, digio.readport,
Sets digital I/O line 4 low (0):
Example
digio.writebit(4, 0)
N is a digital I/O trigger line: 1 to 8
Set timeout in seconds.
Returns 'true' if a trigger was detected, or 'false' if no triggers were
detected during the timeout period.
timeout
was called, this function will return immediately. After
lines" in
(no triggers detected)
false
(trigger detected)
true
Digital I/O line number (1 to 14)
Value to write to the bit; 0 (low) or 1 (high)
function does not affect the present states of the digital I/O lines.
reset
lines" in
digio.writeport
Return to
Instrument Control Library 12-23
seconds for an input trigger. If one or more trigger
digio.trigger[N].wait
Section
10.
digio.writeprotect
Section
10.
Section 12 topics
2600S-901-01 Rev. A / May 2006
or
attribute, the command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents