Specifications
RIGOL Chapter 2 Command System
2-208 M300 Programming Guide
SYSTem:COMMunicate:LAN:SMASk
Syntax SYSTem:COMMunicate:LAN:SMASk "<mask>"
SYSTem:COMMunicate:LAN:SMASk? [{CURRent|STATic}]
Description
Set or query the subnet mask.
Parameters
Name
Type
Range
Default
<mask>
ASCII
string
The format is nnn.nnn.nnn.nnn; wherein,
the range of nnn is from 0 to 255.
None
Explanation This command is only available when the manual IP configuration mode is enabled.
You are recommended to ask your network administrator for a subnet mask available.
The command has two optional parameters. Use "CURRent" to query the subnet mask
address currently set (the
SYSTem:COMMunicate:LAN:UPDate command is not
executed). Use "STATic" to query the subnet mask address currently stored in the
non-volatile memory (refer to
Appendix C: Non-volatile Memory). When the parameter
is omitted, the system queries the subnet mask address currently set.
The subnet mask is stored in the non-volatile memory (refer to
Appendix C:
Non-volatile Memory) and does not change when the power has been off, after a
Factory Reset (send the
*RST command) or after an Instrument Preset (send the
SYSTem:PRESet command).
Return
Format
The query returns the current subnet mask, for example, “255.255.255.0”.
Example
SYST:COMM:LAN:SMASK “255.255.255.0”
SYST:COMM:LAN:SMASK? CURR
The query returns “255.255.255.0”.
Related
commands
SYSTem:COMMunicate:LAN:MANUip
SYSTem:COMMunicate:LAN:DNS
SYSTem:COMMunicate:LAN:GATEway
SYSTem:COMMunicate:LAN:IPADdress