Section 8: TSP command reference Model 2461 Interactive SourceMeter® Instrument Reference Manual8-332 2461-901-01 A/November 2015tspnet.timeoutThis attribute sets the timeout value for the tspnet.connect(), tspnet.execute(), and tspnet.read()commands.Type TSP-Link accessible Affected by Where saved Default valueAttribute (RW) No Restore configurationInstrument resetPower cycleConfiguration script 20.0 (20 s)Usagevalue = tspnet.timeouttspnet.timeout = valuevalue The timeout duration in seconds (0.001 to 30.0 s)DetailsThis attribute sets the amount of time the tspnet.connect(), tspnet.execute(), andtspnet.read() commands will wait for a response.The time is specified in seconds. The timeout may be specified to millisecond resolution, but is onlyaccurate to the nearest 10 ms.Exampletspnet.timeout = 2.0 Sets the timeout duration to 2 s.Also seetspnet.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 valueFunction NoUsagetspnet.tsp.abort(connectionID)connectionID Integer value used as a handle for other tspnet commandsDetailsThis function is appropriate only for TSP-enabled instruments.Sends an abort command to the remote instrument.