
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-141
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 9-136)
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).
Also see
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.
Remarks
This attribute holds the TCP port number used to reset all other LAN socket
connections.
Example
To display the Series 3700 DST port number:
print(lan.status.port.dst)
5.030003