Tektronix Keithley 2651A Reference Manual page 415

High power system sourcemeter instrument
Table of Contents

Advertisement

Section 7: TSP command reference
digio.writeport()
This function writes to all digital I/O lines.
Type
TSP-Link accessible
Function
Yes
Usage
digio.writeport(data)
data
Details
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 are not changed.
The reset() function does not affect the present states 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.
Example
digio.writeport(255)
Sets digital I/O Lines 1 through 8 high (binary 00000011111111).
Also see
digio.readbit()
digio.readport()
digio.writebit()
digio.writeprotect
7-70
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Affected by
Value to write to the port (0 to 16383)
(on page 7-58)
(on page 7-59)
(on page 7-69)
(on page 7-71)
Where saved
Default value
2651A-901-01 Rev. C October 2021

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents