EasyManuals Logo

Tektronix KEITHLEY 2600B Series User Manual

Tektronix KEITHLEY 2600B Series
834 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 #385 background imageLoading...
Page #385 background image
Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-64 2600BS-901-01 Rev. F/August 2021
digio.writeport()
This function writes to all digital I/O lines. This command is not available on the 2604B, 2614B, or 2634B.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
digio.writeport(data)
data
Value to write to the port (0 to 16383)
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() (on page 9-54)
digio.readport() (on page 9-55)
digio.writebit() (on page 9-63)
digio.writeprotect (on page 9-64)
digio.writeprotect
This attribute contains the write-protect mask that protects bits from changes from the digio.writebit() and
digio.writeport() functions. This command is not available on the 2604B, 2614B, or 2634B.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
Recall setup
Saved setup
0
Usage
mask = digio.writeprotect
digio.writeprotect = mask
mask
Sets the value that specifies the bit pattern for write-protect

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix KEITHLEY 2600B Series and is the answer not in the manual?

Tektronix KEITHLEY 2600B Series Specifications

General IconGeneral
BrandTektronix
ModelKEITHLEY 2600B Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals