Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-258 3700AS-901-01 Rev. D/June 2018
Also see
Script examples (on page 9-5)
io.flush() (on page 11-253)
lan.applysettings()
This function re-initializes the LAN interface with new settings.
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
Re-initialize the LAN interface with new settings.
Also see
None
lan.config.dns.address[N]
Configures DNS server IP addresses.
Usage
dnsAddress = lan.config.dns.address[N]
lan.config.dns.address[N] = "dnsAddress"
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.