Tektronix KEITHLEY SourceMeter 2606B Reference Manual page 436

Table of Contents

Advertisement

Model 2606B System SourceMeter® Instrument Reference Manual
digio.writebit()
This function sets a digital I/O line high or low.
Type
TSP-Link accessible
Function
Yes
Usage
digio.writebit(N, data)
N
data
Details
If the output line is write-protected using the digio.writeprotect attribute, the command is
ignored.
The reset() function does not affect the present state of the digital I/O lines.
Use the digio.writebit() and digio.writeport() commands to control the output state of
the synchronization line when trigger operation is set to digio.TRIG_BYPASS.
The data must be zero (0) to clear the bit. Any value other than zero (0) sets the bit.
Example
digio.writebit(4, 0)
Also see
digio.readbit()
digio.readport()
digio.trigger[N].mode
digio.writeport()
digio.writeprotect
digio.writeport()
This function writes to all digital I/O lines.
Type
TSP-Link accessible
Function
Yes
Usage
digio.writeport(data)
data
2606B-901-01 Rev. C November 2021
Affected by
Digital I/O trigger line (1 to 14)
The value to write to the bit:
0 (low)
Non-zero (high)
(on page 15-54)
(on page 15-54)
(on page 15-57)
(on page 15-63)
(on page 15-64)
Affected by
Value to write to the port (0 to 16383)
Section 15: TSP command reference
Where saved
Default value
Sets digital I/O line 4 low (0).
Where saved
Default value
15-63

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents