Section 3: Functions and features
Model 2461 Interactive SourceMeter® Instrument Reference Manual
3-162
2461-901-01 A/November 2015
Model 2461 TSP-Link command
Replaces this command in other TSP-Link products
trigger.tsplinkin[
N
].clear()
tsplink.trigger[
N
].clear()
trigger.tsplinkin[
N
].edge
trigger.tsplinkout[
N
].logic
tsplink.line[
N
].mode
tsplink.trigger[
N
].mode
trigger.tsplinkin[
N
].overrun
tsplink.trigger[
N
].overrun
trigger.tsplinkin[
N
].wait()
tsplink.trigger[
N
].wait()
trigger.tsplinkout[
N
].assert()
tsplink.trigger[
N
].assert()
trigger.tsplinkout[
N
].pulsewidth
tsplink.trigger[
N
].pulsewidth
trigger.tsplinkout[
N
].release()
tsplink.trigger[
N
].release()
trigger.tsplinkout[
N
].stimulus
tsplink.trigger[
N
].stimulus
tsplink.initialize()
tsplink.reset()
tsplink.line[
N
].reset()
tsplink.trigger[
N
].reset()
tsplink.line[
N
].state
tsplink.readbit()
tsplink.writebit()
Not applicable
tsplink.writeprotect
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 2461 can control ethernet-enabled devices directly
through its LAN port. This enables the Model 2461 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 2461 can download a script to
another TSP-enabled instrument and have both instruments run scripts independently. The Model
2461 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 2461.