EasyManuals Logo
Home>Keithley>Test Equipment>2450

Keithley 2450 User Manual

Keithley 2450
878 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #597 background imageLoading...
Page #597 background image
Section
8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
Reference Manual
8-66 2450-901-01 Rev. B/September 2013
lan.ipconfig()
This function specifies the LAN configuration for the instrument.
Type TSP-Link accessible Affected by Where saved Default value
Function
No
Rear panel LAN reset
Nonvolatile
memory
lan.MODE_AUTO
Usage
method, ipV4Address, subnetMask, gateway = lan.ipconfig()
lan.ipconfig(method)
lan.ipconfig(method, ipV4Address)
lan.ipconfig(method, ipV4Address, subnetMask)
lan.ipconfig(method, ipV4Address, subnetMask, gateway)
method
The method for configuring LAN settings; it can be one of the following
values:
lan.MODE_AUTO: The instrument automatically assigns LAN settings
lan.MODE_MANUAL: You must specify the LAN settings
ipV4Address
LAN IP address; must be a string specifying the IP address in dotted decimal
notation
subnetMask
The LAN subnet mask; must be a string in dotted decimal notation
gateway
The LAN default gateway; must be a string in dotted decimal notation
Details
This command specifies how the LAN IP address and other LAN settings are assigned. If automatic configuration
is selected, the instrument automatically determines the LAN information. When method is automatic, the
instrument first attempts to configure the LAN settings using dynamic host configuration protocol (DHCP). If
DHCP fails, it tries dynamic link local addressing (DLLA). If DLLA fails, an error occurs.
If manual is selected, you must define the IP address. You can also assign a subnet mask, and default gateway.
The IP address, subnet mask, and default gateway must be formatted in four groups of numbers, each separated
by a decimal. If you do not specify a subnet mask or default gateway, the previous settings are used.
Example
lan.ipconfig(lan.MODE_AUTO)
print(lan.ipconfig())
lan.ipconfig(lan.MODE_MANUAL, "192.168.0.7", "255.255.240.0",
"192.168.0.3")
print(lan.ipconfig())
Set the IP configuration method to automatic. Request the IP configuration. Example output:
lan.MODE_AUTO 134.63.78.136 255.255.254.0 134.63.78.1
Set the IP configuration method to manual. Request the IP configuration. Output:
lan.MODE_MANUAL 192.168.0.7 255.255.240.0 192.168.0.3
Also see
None

Table of Contents

Other manuals for Keithley 2450

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2450 and is the answer not in the manual?

Keithley 2450 Specifications

General IconGeneral
BrandKeithley
Model2450
CategoryTest Equipment
LanguageEnglish

Related product manuals