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