Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-441
deviceID = tspnet.connect("192.0.2.1")
if deviceID then
tspnet.termination(deviceID, tspnet.TERM_LF)
end
Sets termination type for IP address
192.0.2.1 to TERM_LF.
Also see
tspnet.connect() (on page 11-434)
tspnet.disconnect() (on page 11-436)
tspnet.timeout
This attribute sets the timeout value for the tspnet.connect(), tspnet.execute(), and tspnet.read()
commands.
Instrument reset
Recall setup
Create configuration script
Usage
value = tspnet.timeout
tspnet.timeout = value
The timeout duration in seconds (1 ms 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
Sets the timeout duration to 2 s.
Also see
tspnet.connect() (on page 11-434)
tspnet.execute() (on page 11-436)
tspnet.read() (on page 11-438)