Section 7: Command reference
lan.status.ipaddress
This attribute contains the LAN IP address presently in use by the LAN interface.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
ipAddress = lan.status.ipaddress
ipAddress
Details
The IP address is a character string that represents the IP address assigned to the instrument.
Example
print(lan.status.ipaddress)
Also see
lan.config.ipaddress
lan.status.macaddress
This attribute contains the LAN MAC address.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
macAddress = lan.status.macaddress
macAddress
Details
The MAC address is a character string representing the instrument's MAC address in hexadecimal notation. The
string includes colons that separate the address octets (see Example).
Example
print(lan.status.macaddress)
Also see
None
7-118
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Affected by
Not applicable
LAN IP address specified in dotted decimal notation
(on page 7-109)
Affected by
Not applicable
The instrument MAC address
Where saved
Default value
Not applicable
Not applicable
Outputs the LAN IP address currently in use, such
as:
10.60.8.83
Where saved
Default value
Not applicable
Not applicable
Outputs the MAC address of the instrument, for
example:
00:60:1A:00:00:57
2651A-901-01 Rev. A / March 2011