Tspnet.timeout - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Series 3700A System Switch/Multimeter Reference Manual
Example
deviceID = tspnet.connect("192.0.2.1")
if deviceID then
tspnet.termination(deviceID, tspnet.TERM_LF)
end
Also see
tspnet.connect()
tspnet.disconnect()

tspnet.timeout

This attribute sets the timeout value for the tspnet.connect(), tspnet.execute(), and tspnet.read()
commands.
Type
TSP-Link accessible
Attribute (RW)
No
Usage
value = tspnet.timeout
tspnet.timeout = value
value
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
Also see
tspnet.connect()
tspnet.execute()
tspnet.read()
3700AS-901-01 Rev. D/June 2018
(on page 11-434)
(on page 11-436)
Affected by
Instrument reset
Recall setup
The timeout duration in seconds (1 ms to 30.0 s)
(on page 11-434)
(on page 11-436)
(on page 11-438)
Section 11: TSP command reference
Sets termination type for IP address
192.0.2.1 to TERM_LF.
Where saved
Default value
Create configuration script
20.0 (20 s)
Sets the timeout duration to 2 s.
11-441

Advertisement

Table of Contents
loading

Table of Contents