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 #719 background image
Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-398 2600BS-901-01 Rev. F/August 2021
Usage
mask = tsplink.writeprotect
tsplink.writeprotect = mask
mask
An integer that specifies the value of the bit pattern for write-protect; set bits to 1 to
write-protect the corresponding TSP-Link trigger line
Details
The binary equivalent of mask indicates the mask to be set for the TSP-Link trigger line. For example,
a mask value of 5 has a binary equivalent of 101. This mask write-protects TSP-Link trigger lines 1
and 3.
Example
tsplink.writeprotect = 5
Write-protects TSP-Link trigger lines 1 and 3.
Also see
Controlling digital I/O lines (on page 4-41)
tsplink.readbit() (on page 9-385)
tsplink.readport() (on page 9-385)
tsplink.writebit() (on page 9-396)
tsplink.writeport() (on page 9-397)
tspnet.clear()
This function clears any pending output data from the instrument.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
tspnet.clear(connectionID)
connectionID
The connection ID returned from tspnet.connect()
Details
This function clears any pending output data from the device. No data is returned to the caller and no
data is processed.
Example
tspnet.write(testdevice, "print([[hello]])")
print(tspnet.readavailable(testdevice))
tspnet.clear(testdevice)
print(tspnet.readavailable(testdevice))
Write data to a device, then print how much is available.
Output:
6.00000e+00
Clear data and print how much data is available again.
Output:
0.00000e+00

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