
Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-330
2461-901-01 A/November 2015
Example
ID = tspnet.connect("192.0.2.1")
tspnet.write(ID, "*idn?\r\n")
repeat bytes = tspnet.readavailable(ID) until bytes > 0
print(tspnet.read(ID))
tspnet.disconnect(ID)
Send commands that will create
data.
Wait for data to be available.
Also see
(on page 8-325)
(on page 8-328)
tspnet.reset()
This function disconnects all TSP-Net sessions.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
tspnet.reset()
Details
This command disconnects all remote instruments connected through TSP-Net. For TSP-enabled
devices, this causes any commands or scripts running remotely to be terminated.
Also see
None