Keithley 3700 series Reference Manual page 281

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

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
lan.config.ipaddress
Attribute
Usage
Remarks
Also see
Example
lan.config.method
Attribute
Usage
Remarks
Example
Document Number: 3700S-901-01 Rev. A / August 2007
Configures LAN IP address.
To read the LAN IP address:
ipaddress = lan.config.ipaddress
To write the LAN IP address:
lan.config.ipaddress = ipaddress
ipaddress: LAN IP address.
This attribute specifies the LAN IP address to use when the manual configuration
method is used to configure the LAN. This setting is ignored when DLLA or DHCP is
used.
NOTE This attribute does not indicate the actual setting currently in effect. Use the
lan.status attributes to determine the current operating state of the LAN.
ipaddress must be a string specifying the IP address in dotted decimal
notation.
lan.status.ipaddress
(on page 9-140)
To display the presently set LAN IP address:
ipaddress = lan.config.ipaddress
Controls LAN settings configuration method.
To read the method used:
method = lan.config.method
To write the method:
lan.config.method = method
method: LAN settings configuration method. It can be one of the following values:
lan.AUTO or 1: Selects automatic sequencing of configuration methods.
lan.MANUAL or 0: Use only manually specified configuration settings.
This attribute controls how the LAN IP address, subnet mask, default gateway
address, and DNS server addresses are determined.
When method is lan.AUTO, the instrument will first attempt to configure the LAN
settings via Dynamic Host Configuration Protocol (DHCP). If DHCP fails, it will try
Dynamic Link Local Addressing (DLLA). If DLLA fails, it will use the manually specified
settings.
When method is lan.MANUAL, only the manually specified settings will be used.
Neither DHCP nor DLLA will be attempted.
To display the current method:
print(lan.config.method)
Section 9: Instrument Control Library (ICL)
9-137

Advertisement

Table of Contents
loading

Table of Contents