Tsp-Net Capabilities; Using Tsp-Net With Any Ethernet Instrument - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Section 6: Instrument programming

TSP-Net capabilities

The TSP-Net library permits the Series 2600B to control a remote instrument through the LAN port for
both Test Script Processor (TSP
can transfer string data to and from a remote instrument, transfer and format data into Lua variables,
and clear input buffers. The TSP-Net library is only accessible using commands from a remote
command interface.
You can use TSP-Net commands to communicate with any ethernet-enabled instrument. However,
specific TSP-Net commands exist for TSP-enabled instruments to allow for support of features unique
to the TSP scripting engine. These features include script downloads, reading buffer access, wait
completion, and handling of TSP scripting engine prompts.
Using TSP-Net commands with TSP-enabled instruments, a Series 2600B can download a script to
another TSP-enabled instrument and have both instruments run scripts independently. The Series
2600B can read the data from the remote instrument and either manipulate the data or send the data
to a different remote instrument on the LAN. You can simultaneously connect to a maximum of
32 devices using standard TCP/IP networking techniques through the LAN port of the Series 2600B.

Using TSP-Net with any ethernet instrument

Refer to
TSP command reference
section.
The Series 2600B has Auto-MDIX, so you can use either a LAN crossover cable or a LAN straight-
through cable to connect directly from the Series 2600B to an ethernet device or to a hub.
To set up communication to a remote ethernet instrument that is TSP
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 will be 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 of the remote instrument.
See
tspnet.connect()
6-60
Series 2600B System SourceMeter® Instrument Reference Manual
®
) and non-TSP instruments. Using TSP-Net library methods, you
(on page 7-1) for details about the commands presented in this
(on page 7-367) for additional detail.
®
enabled:
2600BS-901-01 Rev. B / May 2013

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents