Keithley 3700 series Reference Manual page 285

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

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
lan.status.ipaddress
Attribute
Usage
Remarks
Also see
Example
lan.status.macaddress
Attribute
Usage
Remarks
Also see
Example
lan.status.port.dst
Attribute
Usage
Remarks
Example
Document Number: 3700S-901-01 Rev. A / August 2007
Reads present 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 specified in dotted decimal notation.
This attribute indicates the LAN IP address currently in use.
lan.config.ipaddress
(on page 9-136)
To display the present LAN IP address:
print(lan.status.ipaddress)
Reads LAN MAC address.
macaddress = lan.status.macaddress
macaddress: The Series 3700 MAC address.
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).
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
Reads present LAN dead socket termination port number.
port = lan.status.port.dst
port: Dead socket termination socket port number.
This attribute holds the TCP port number used to reset all other LAN socket
connections.
To display the Series 3700 DST port number:
print(lan.status.port.dst)
 5.030000000e+003
Section 9: Instrument Control Library (ICL)
9-141

Advertisement

Table of Contents
loading

Table of Contents