EasyManuals Logo

Tektronix Keithley 2601B-PULSE Reference Manual

Tektronix Keithley 2601B-PULSE
849 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 #355 background imageLoading...
Page #355 background image
Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 10: Instrument programming
2601B-PULSE-901-01A April 2020 10-59
To set up communication to a remote ethernet-enabled instrument that is TSP
®
enabled:
1. Send the following command to configure TSP-Net to send an abort command when a
connection to a TSP instrument is established:
tspnet.tsp.abortonconnect = 1
If the scripts are allowed to run, the connection is made, but the remote instrument may be busy.
2. Send the command:
connectionID = tspnet.connect(ipAddress)
Where:
â–ª connectionID is the connection ID that will be used as a handle in all other TSP-Net
function calls.
â–ª ipAddress is the IP address, entered as a string, of the remote instrument.
See tspnet.connect() (on page 11-380) for additional detail.
To set up communication to a remote ethernet-enabled device that is not TSP enabled:
Send the command:
connectionID = tspnet.connect(ipAddress, portNumber, initString)
Where:
â–ª connectionID is the connection ID that will be used as a handle in all other tspnet
function calls.
â–ª ipAddress is the IP address, entered as a string, of the remote device.
â–ª portNumber is the port number of the remote device.
â–ª initString is the initialization string that is to be sent to ipAddress.
See tspnet.connect() (on page 11-380) for additional detail.
To communicate to a remote ethernet device from the 2601B-PULSE:
1. Connect to the remote device using one of the above procedures. If the 2601B-PULSE cannot
make a connection to the remote device, it generates a timeout event. Use tspnet.timeout to
set the timeout value. The default timeout value is 20 s.
2. Use tspnet.write() or tspnet.execute() to send strings to a remote device. If you use:
â–ª tspnet.write(): Strings are sent to the device exactly as indicated, and you must supply
any needed termination characters.
â–ª tspnet.execute(): The 2601B-PULSE appends termination characters to all strings that
are sent. Use tspnet.termination() to specify the termination character.
3. To retrieve responses from the remote instrument, use tspnet.read(). The 2601B-PULSE
suspends operation until the remote device responds or a timeout event is generated. To check if
data is available from the remote instrument, use tspnet.readavailable().
4. Disconnect from the remote device using the tspnet.disconnect() function. Terminate all
remote connections using tspnet.reset().

Table of Contents

Other manuals for Tektronix Keithley 2601B-PULSE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix Keithley 2601B-PULSE and is the answer not in the manual?

Tektronix Keithley 2601B-PULSE Specifications

General IconGeneral
BrandTektronix
ModelKeithley 2601B-PULSE
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals