SYSTem:COMMunicate:LAN:DOMain
Syntax
SYSTem:COMMunicate:LAN:DOMain "<name>"
SYSTem:COMMunicate:LAN:DOMain? [{CURRent|STATic}]
Description
This command assigns a Domain Name to the 34980A. The Domain Name is translated into an IP address.
If you change the Domain Name, you must cycle power on the 34980A to activate the new setting. |
Parameters
Name |
Type |
Range of Values |
Default Value |
<name> |
A string of up to 63 characters. The first character must be a letter (A-Z), but the remaining 62 characters can be letters, numbers (0-9), dashes ("-"), or periods ("."). Blank spaces are not allowed. |
No Domain Name assigned |
Remarks
If Dynamic Domain Name System (DNS) is available on your network and your instrument uses DHCP, the Domain Name is registered with the Dynamic DNS service at power-on.
If DHCP is enabled (see SYSTem:COMMunicate:LAN:DHCP command), the DHCP server can change the specified Domain Name.
The Domain Name is stored in non-volatile memory, and does not change when power has been off, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).
Return Format
The query command reads the Domain Name and returns an ASCII string enclosed in double quotes. If a Domain Name has not been assigned, a null string ( " " ) is returned.
Note that the query command has two optional parameters. Specify "CURRent" (default) to read the dynamic Domain Name currently being used by the instrument. Specify "STATic" to read the Domain Name currently stored in non-volatile memory within the instrument (may not be the actual name used by the instrument if DHCP is enabled).
Examples
The following command defines a Domain Name.
SYST:COMM:LAN:DOM "www.example.com"
The following query returns the Domain Name currently being used by the instrument (the quotes are also returned).
SYST:COMM:LAN:DOM?
Typical Response: "www.example.com"
See Also
SYSTem:COMMunicate:LAN:HOSTname