System:communicate:lan:smask – RIGOL DG1000Z Series User Manual
Page 207

RIGOL
DG1000Z Programming Guide
2-195
:SYSTem:COMMunicate:LAN:SMASk
Syntax
:SYSTem:COMMunicate:LAN:SMASk
:SYSTem:COMMunicate:LAN:SMASk?
Description
Set the subnet mask.
Query the subnet mask.
Parameter
Name
Type
Range
Default
ASCII string
Refer to the “Explanation”
None
Explanation
This command is only valid when the ManualIP configuration mode is turned on
:SYSTem:COMMunicate:LAN:STATic[:STATe]
).
The format of
It is recommended that users acquire an available subnet mask from their
network administrator.
After sending this comammd, the new settings will only take effect when
command is executed to apply the
current network parameters.
The subnet mask must be continuous, namely the 1 and 0 must be continuous.
Return Format
The query returns a string, for example, 255.255.255.0.
Example
:SYST:COMM:LAN:SMAS 255.255.255.0 /*Set the subnet mask to 255.255.255.0*/
:SYST:COMM:LAN:SMAS? /*Query the subnet mask and the query
returns 255.255.255.0*/
Related
Commands
:SYSTem:COMMunicate:LAN:STATic[:STATe]