
Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
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
Power cycle
Configuration script
20.0 (20 s)
Usage
value
= tspnet.timeout
tspnet.timeout =
value
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
tspnet.timeout = 2.0
Sets the timeout duration to 2 s.
Also see
(on page 8-325)
(on page 8-327)
(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
Function
No
Usage
tspnet.tsp.abort(
connectionID
)
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.