SYSTem:COMMunicate:LAN:MAC?
Returns the instrument's Media Access Control (MAC) address as an ASCII string of 12 hexadecimal characters (0-9
and A-F) enclosed in quotation marks.
Your network administrator may need the instrument's MAC address in order to assign a static IP address
for this device.
Parameter Typical return
(none) "0030D3001041"
Returns the MACaddress: SYST:COMM:LAN:MAC?
– Query reads the MAC address and returns an ASCII string enclosed in double quotes.
– The instrument's MAC address is unique to the instrument. It is set at the factory and cannot be changed.
– The setting is non-volatile, and does not change when power has been off, after a Factory Reset (*RST com-
mand), or after an Instrument Preset (SYSTem:PRESet command).
– MACaddress also known as the link-layer address, the Ethernet (station) address, LANIC ID, or Hardware
Address. This is an unchangeable 48-bit address assigned by the manufacturer to each unique Internet device.
SYSTem:COMMunicate:LAN:SMASk "<mask>"
SYSTem:COMMunicate:LAN:SMASk? [{CURRent|STATic}]
Assigns a subnet mask for the instrument to use in determining whether a client IP address is on the same local sub-
net. When a client IP address is on a different subnet, all packets must be sent to the Default Gateway. Contact your
LAN administrator for details.
If you change this setting, you must execute a SYSTem:COMMunicate:LAN:UPDate command to activ-
ate the setting.
Parameter Typical return
<mask> = Four-byte dot notation ("nnn.nnn.nnn.nnn"), where "nnn" in each case is a byte
value in the range 0 through 255.
Default: "255.255.0.0"
[{CURRent | STATic}] Default: CURRent
"198.105.232.4"
Sets the subnet mask:
SYST:COMM:LAN:SMAS "255.255.254.0"
SYST:COMM:LAN:UPDate
– CURRent - Returns subnet mask currently being used by the instrument.
– STATic - Returns subnet mask from non-volatile memory. This address is used if DHCP is disabled or unavailable.
Keysight DAQ970A/DAQ973A Programming Guide 331
2 SCPI Programming