Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-116
2600BS-901-01 Rev. B / May 2013
lan.config.duplex
This attribute defines the LAN duplex mode.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
LAN restore defaults
Nonvolatile memory
1 (lan.FULL)
Usage
duplex
= lan.config.duplex
lan.config.duplex =
duplex
duplex
LAN duplex setting can be one of the following values:
1
or
lan.FULL
: Selects full-duplex operation
0
or
lan.HALF
: Selects half-duplex operation
Details
This attribute does not indicate the actual setting currently in effect. Use the
lan.status.duplex
attribute to
determine the present operating state of the LAN.
Also see
lan.restoredefaults()
(on page 7-121)
lan.config.gateway
This attribute contains the LAN default gateway address.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
LAN restore defaults
Nonvolatile memory
"0.0.0.0"
Usage
gatewayAddress
= lan.config.gateway
lan.config.gateway =
gatewayAddress
gatewayAddress
LAN default gateway address; must be a string specifying the default
gateway’s IP address in dotted decimal notation
Details
This attribute specifies the default gateway IP address to use when manual or DLLA configuration methods are
used to configure the LAN. If DHCP is enabled, this setting is ignored.
This attribute does not indicate the actual setting that is presently in effect. Use the
lan.status.gateway
attribute to determine the present operating state of the LAN.
The IP address must be formatted in four groups of numbers, each separated by a decimal.
Example
print(lan.config.gateway)
Outputs the default gateway address. For example,
you might see the output:
192.168.0.1
Also see
lan.restoredefaults()
(on page 7-121)
lan.status.gateway
(on page 7-123)
Содержание System SourceMeter 2601B
Страница 841: ......