EasyManuals Logo

Keithley SourceMeter 2602 Reference Manual

Keithley SourceMeter 2602
594 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #297 background imageLoading...
Page #297 background image
Series 2600 System SourceMeters Reference Manual Instrument Control Library 12-23
Return to Section 12 topics 2600S-901-01 Rev. A / May 2006
digio.trigger[N].wait
N is a digital I/O trigger line: 1 to 8
Function Waits for a trigger.
Usage
triggered = digio.trigger[N].wait(timeout)
timeout Set timeout in seconds.
triggered Returns ‘true’ if a trigger was detected, or ‘false’ if no triggers were
detected during the timeout period.
Remarks This function will wait up to timeout seconds for an input trigger. If one or more trigger
events were detected since the last time
digio.trigger[N].wait or
digio.trigger[N].clear was called, this function will return immediately. After
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 lines” in Section 10.
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: false (no triggers detected)
true (trigger detected)
digio.writebit
Function Sets a digital I/O line high or low.
Usage
digio.writebit(bit, data)
bit Digital I/O line number (1 to 14)
data Value to write to the bit; 0 (low) or 1 (high)
Remarks
If the output line is write protected, via the digio.writeprotect attribute, the command
will be ignored.
The reset function does not affect the present states of the digital I/O lines.
Details See “Controlling digital I/O lines” in Section 10.
Also see digio.readbit, digio.readport, digio.writeport
Example
Sets digital I/O line 4 low (0):
digio.writebit(4, 0)

Table of Contents

Other manuals for Keithley SourceMeter 2602

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley SourceMeter 2602 and is the answer not in the manual?

Keithley SourceMeter 2602 Specifications

General IconGeneral
BrandKeithley
ModelSourceMeter 2602
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals