User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-201
lan.status.gateway
Attribute
Reads present LAN default gateway address.
Usage
gatewayaddress = lan.status.gateway
gatewayaddress: LAN default gateway address.
Remarks
This attribute indicates the default gateway IP address setting currently in effect.
Also see
lan.config.gateway (on page 13-195)
Example
To display present gateway address:
print(lan.status.gateway)
lan.status.ipaddress
Attribute
Reads present LAN IP address.
Usage
To read the LAN IP address:
ipaddress = lan.config.ipaddress
To write the LAN IP address:
lan.config.ipaddress = ipaddress
ipaddress: LAN IP address specified in dotted decimal notation.
Remarks
This attribute indicates the LAN IP address currently in use.
Also see
lan.config.ipaddress (on page 13-195)
Example
To display the present LAN IP address:
print(lan.status.ipaddress)
lan.status.macaddress
Attribute
Reads LAN MAC address.
Usage
macaddress = lan.status.macaddress
macaddress: The Series 3700 MAC address.
Remarks
This attribute provides the unit's LAN MAC address. The MAC address is a character
string representing the unit's MAC address in hexadecimal notation. The string will
have colons separating the address octets (see example).
Example
To display the Series 3700 MAC address if it is "00:60:1A:00:00:57":
print(lan.status.macaddress)
00:60:1A:00:00:57
lan.status.port.dst
Attribute
Reads present LAN dead socket termination port number.
Usage
port = lan.status.port.dst
port: Dead socket termination socket port number.