Model 2651A High Power System SourceMeter® Instrument Reference Manual Section 7: Command reference
2651A-901-01 Rev. A / March 2011 7-111
Usage
speed = lan.config.speed
lan.config.speed = speed
speed
LAN speed setting in Mbps (10 or 100)
Details
This attribute does not indicate the actual setting currently in effect. Use the lan.status.speed attribute to
determine the current operating state of the LAN.
This attribute stores the speed that will be used if the LAN is restarted for manual configuration operation.
The LAN speed is measured in megabits per second (Mbps).
Example
lan.config.speed = 100
Configure LAN speed for 100.
Also see
lan.restoredefaults() (on page 7-114)
lan.status.speed
(on page 7-121)
lan.config.subnetmask
This attribute contains the LAN subnet mask.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes LAN restore defaults Nonvolatile memory "255.255.255.0"
Usage
mask = lan.config.subnetmask
lan.config.subnetmask = mask
mask
LAN subnet mask value string specifying the subnet mask in dotted decimal
notation
Details
This attribute specifies the LAN subnet mask to use when the manual configuration method is used to configure
the LAN. This setting is ignored when DLLA or DHCP is used.
This attribute does not indicate the actual setting currently in effect. Use the lan.status.subnetmask
attribute to determine the current operating state of the LAN.
Example
print(lan.config.subnetmask)
Outputs the LAN subnet mask, such as:
255.255.255.000
Also see
lan.restoredefaults() (on page 7-114)
lan.status.subnetmask
(on page 7-121)