8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-332 2461-901-01 A/November 2015
tspnet.timeout
This attribute sets the timeout value for the tspnet.connect(), tspnet.execute(), and tspnet.read()
commands.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) No
Restore configuration
Instrument reset
Configuration script 20.0 (20 s)
Usage
value = tspnet.timeout
tspnet.timeout = value
The timeout duration in seconds (0.001 to 30.0 s)
Details
This attribute sets the amount of time the tspnet.connect(), tspnet.execute(), and
tspnet.read() commands will wait for a response.
The time is specified in seconds. The timeout may be specified to millisecond resolution, but is only
accurate to the nearest 10 ms.
Example
Sets the timeout duration to 2 s.
Also see
tspnet.connect() (on page 8-325)
tspnet.execute() (on page 8-327)
tspnet.read() (on page 8-328)
tspnet.tsp.abort()
This function causes the TSP-enabled instrument to stop executing any of the commands that were sent to it.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
tspnet.tsp.abort(connectionID)
Integer value used as a handle for other tspnet commands
Details
This function is appropriate only for TSP-enabled instruments.
Sends an abort command to the remote instrument.