Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-117
lan.status.duplex
This attribute contains the duplex mode 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
duplex
= lan.status.duplex
duplex
LAN duplex setting can be one of the following values:
0
or
lan.HALF
: half-duplex operation
1
or
lan.FULL
: full-duplex operation
Details
Example
print(lan.status.duplex)
Outputs the present LAN duplex mode, such as:
1.00
Also see
None
lan.status.gateway
This attribute contains the LAN default gateway address.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
gatewayAddress
= lan.status.gateway
gatewayAddress
LAN default gateway address
Details
The value of
gatewayAddress
is a string that indicates the IP address of the default gateway in dotted decimal
notation.
Example
print(lan.status.gateway)
Outputs the gateway address, such as:
10.60.8.1
Also see