Lan.applysettings(); Lan.config.dns.address[N] - Keithley 3700A Series Reference Manual

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

Advertisement

Section 11: TSP command reference
Also see
Script examples
io.flush()
(on page 11-253)

lan.applysettings()

This function re-initializes the LAN interface with new settings.
Type
TSP-Link accessible
Function
Yes
Usage
lan.applysettings()
Details
Disconnects all existing LAN connections to the instrument and re-initializes the LAN with the present
configuration settings.
This function initiates a background operation. LAN configuration could be a lengthy operation.
Although the function returns immediately, the LAN initialization continues to run in the background.
Even though the LAN configuration settings may not have changed since the LAN was last
connected, new settings may take effect due to the dynamic nature of dynamic host configuration
protocol (DHCP) or dynamic link local addressing (DLLA) configuration.
Re-initialization takes effect even if the configuration has not changed since the last time the
instrument connected to the LAN.
Example
lan.applysettings()
Also see
None

lan.config.dns.address[N]

Configures DNS server IP addresses.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
dnsAddress = lan.config.dns.address[N]
lan.config.dns.address[N] = "dnsAddress"
dnsAddress
N
Details
This attribute is an array of DNS (domain name system) server addresses. These addresses take
priority for DNS lookups and are consulted before any server addresses that are obtained using
DHCP. This allows local DNS servers to be specified that take priority over DHCP-configured global
DNS servers.
11-258
(on page 9-5)
Affected by
Affected by
LAN restore defaults
DNS server IP address
Entry index (1 or 2)
Series 3700A System Switch/Multimeter Reference Manual
Where saved
Re-initialize the LAN interface with new settings.
Where saved
Default value
Nonvolatile memory
"0.0.0.0"
3700AS-901-01 Rev. D/June 2018
Default value

Advertisement

Table of Contents
loading

Table of Contents