Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-236
707B-901-01 Rev. A / August 2010
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
System reset
Create
configuration script
20.0
Usage
value = tspnet.timeout
tspnet.timeout = value
value
The timeout duration in seconds (0.01 s 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 contain fractional seconds, but is only accurate to the nearest
10 ms.
Example
tspnet.timeout = 2.0
Sets the timeout duration to two seconds.
Also see
(on page 7-232)
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.
The specified connection must be valid and available.