Agilent 4155C/4156C SCPI Command Reference, Edition 1 5-319
SCPI Commands
:SYSTem:COMMunicate:NETwork[:SELF]:SNETmask
:SYSTem:COMMunicate:NETwork[:SELF]:SNETmas
k
This command sets the subnet mask of the network connection of the 4155C/4156C.
The *RST command has no effect on the value of this parameter. The query returns
the present setting.
Syntax :SYSTem:COMMunicate:NET [:SELF]:SNETmask subnet
:SYSTem:COMMunicate:NET [:SELF]:SNETmask?
Parameter
When subnet = 0.0.0.0 the default value of the class specified by the IP address of
the 4155C/4156C is automatically set. The default value is 255.0.0.0 for class A,
255.255.0.0 for class B, or 255.255.255.0 for class C.
You cannot set the subnet mask value for a class higher than the class of the
4155C/4156C.
Query response subnet <newline><^END>
Example OUTPUT @Hp4155;":SYST:COMM:NET:SNET '255.255.255.0'"
OUTPUT @Hp4155;":SYST:COMM:NET:SNET?"
ENTER @Hp4155;A$
Parameter Type Explanation
subnet string Subnet mask. String of up to 15 characters. The
value 255.255.255.255 is invalid.