Keithley 3700 series Reference Manual page 197

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
digio.trigger[N].wait
Example
digio.writebit
Function
Usage
Remarks
Also see
Example
digio.writeport
Function
Usage
Remarks
Also see
Example
digio.writeprotect
Attribute
Document Number: 3700S-901-01 Rev. A / August 2007
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)
Sets a digital I/O line high or low.
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)
If the output line is write protected, via the
attribute, the command will be ignored.
The reset function does not affect the present states of the digital I/O lines.
digio.readbit
(on page 9-48),
53)
Sets digital I/O line 4 low (0):
digio.writebit(4, 0)
Writes to all digital I/O lines.
digio.writeport(data)
data: Value to write to the port; 0 to 16383.
The binary representation of data indicates the output pattern to be written to the
I/O port. For example, a data value of 170 has a binary equivalent of
00000010101010. Lines 2, 4, 6 and 8 are set high (1), and the other 10 lines are
set low (0).
Write protected lines will not be changed (see
The reset function does not affect the present states of the digital I/O lines.
digio.readbit
(on page 9-48)
digio.readport
(on page 9-49)
digio.writebit
(on page 9-53)
Sets digital I/O lines 1 through 8 high (binary 00000011111111):
digio.writeport(255)
Write protect mask that disables bits from being changed with the
9-53) and
digio.writeport
Section 9: Instrument Control Library (ICL)
digio.writeprotect
digio.readport
(on page 9-49),
(on page 9-53) functions.
(on page 9-53)
digio.writeport
(on page 9-
digio.writeprotect
(on page 9-53)).
digio.writebit
(on page
9-53

Advertisement

Table of Contents
loading

Table of Contents