8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-248 2450-901-01 Rev. B/September 2013
tspnet.write()
This function writes a string to the remote instrument.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
tspnet.write(connectionID, inputString)
The connection ID returned from
Details
The tspnet.write() function sends inputString to the remote instrument. It does not wait for command
completion on the remote instrument.
The Model 2450 sends inputString to the remote instrument exactly as indicated. The inputString must
contain any necessary new lines, termination, or other syntax elements needed to complete properly.
Because tspnet.write() does not process output from the remote instrument, do not send commands that
generate too much output without processing the output. This command can stop executing if there is too much
unprocessed output from previous commands.
Example
tspnet.write(myID, "runscript()\r\n")
Commands the remote instrument to execute
a command or script named runscript() on
a remote device identified in the system as
.
Also see
tspnet.connect() (on page 8-237)
tspnet.read() (on page 8-241)
upgrade.previous()
This function returns to a previous version of the Model 2450 firmware.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
upgrade.previous()
Details
This function allows you to revert to an earlier version of the firmware.
When you send this function, the instrument searches the flash drive that is inserted in the front-panel USB port
for an upgrade file. If the file is found, the instrument performs the upgrade. An error is returned if an upgrade
file is not found.
Also see
Upgrading the firmware (on page A-3)
upgrade.unit() (on page 8-249)