Tsp-Net - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 3: Functions and features
Model 2450 TSP-Link command
trigger.tsplinkin[N].clear()
trigger.tsplinkin[N].edge
trigger.tsplinkout[N].logic
tsplink.line[N].mode
trigger.tsplinkin[N].overrun
trigger.tsplinkin[N].wait()
trigger.tsplinkout[N].assert()
trigger.tsplinkout[N].pulsewidth
trigger.tsplinkout[N].release()
trigger.tsplinkout[N].stimulus
tsplink.initialize()
tsplink.line[N].reset()
tsplink.line[N].state
Not applicable

TSP-Net

TSP-Net provides a simple socket-like programming interface to Test Script Processor (TSP) enabled
instruments. Using the TSP-Net library, the Model 2450 can control ethernet-enabled devices directly
through its LAN port. This enables the Model 2450 to communicate directly with a device that is that
is not TSP-enabled without the use of a controlling computer.
Using TSP-Net library methods, you 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 when you are using the TSP command
language.
While you can use TSP-Net commands to communicate with any ethernet-enabled instrument,
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 Model 2450 can download a script to
another TSP-enabled instrument and have both instruments run scripts independently. The Model
2450 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 use TSP-Net to connect to a computer; you can use a script on the instrument to transfer
data directly to your computer hard drive.
With TSP-Net, you can simultaneously connect to a maximum of 32 devices using standard TCP/IP
networking techniques through the LAN port of the Model 2450.
3-130
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Replaces this command in other TSP-Link products
tsplink.trigger[N].clear()
tsplink.trigger[N].mode
tsplink.trigger[N].overrun
tsplink.trigger[N].wait()
tsplink.trigger[N].assert()
tsplink.trigger[N].pulsewidth
tsplink.trigger[N].release()
tsplink.trigger[N].stimulus
tsplink.reset()
tsplink.trigger[N].reset()
tsplink.readbit()
tsplink.writebit()
tsplink.writeprotect
2450-901-01 Rev. B/September 2013

Advertisement

Table of Contents
loading

Table of Contents