Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-368 2651A-901-01 Rev. A / March 2011
Also see
tspnet.connect() (on page 7-361)
tspnet.disconnect()
(on page 7-363)
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) Yes Instrument reset Not saved 20.0
Usage
value = tspnet.timeout
tspnet.timeout = value
value
The timeout duration in seconds (0.001 s to 30.000 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 two seconds.
Also see
tspnet.connect() (on page 7-361)
tspnet.execute() (on page 7-363)
tspnet.read()
(on page 7-365)
tspnet.tsp.abort()
This function stops remote instrument execution.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
tspnet.tsp.abort(connectionID)
connectionID
Integer value used as a handle for other tspnet commands
Details
Sends an abort command to the remote instrument.