System:communicate:lan:smask, System:communicate:rs232:baud, System:communicate:lan:smask -116 – RIGOL DP832A User Manual
Page 140: System:communicate:rs232:baud -116
RIGOL
2-116
DP800 Programming Guide
:SYSTem:COMMunicate:LAN:SMASK
Syntax
:SYSTem:COMMunicate:LAN:SMASK
:SYSTem:COMMunicate:LAN:SMASK?
Description
Set the subnet mask.
Query the current subnet mask.
Parameter
Name
Type
Range
Default
ASCII
string
Refer to the
"Explanation"
None
Explanation
This command is only available when the manual IP configuration mode is
enabled (
:SYSTem:COMMunicate:LAN:MANualip[:STATe]
).
The format of
from 0 to 255.
You are recommended to ask your network administrator for a subnet mask
available.
The new setting will only take into effect when
command is executed to apply the
network parameter currently set after this command is send.
Return Format
The query returns the subnet mask, for example, 255.255.255.0.
Example
:SYST:COMM:LAN:SMASK 255.255.255.0 /*Set the subnet mask*/
:SYST:COMM:LAN:SMASK? /*Query the current subnet mask and
the query returns 255.255.255.0*/
Related
Commands
:SYSTem:COMMunicate:LAN:MANualip[:STATe]
:SYSTem:COMMunicate:LAN:APPLy
:SYSTem:COMMunicate:RS232:BAUD
Syntax
:SYSTem:COMMunicate:RS232:BAUD
{4800|7200|9600|14400|19200|38400|57600|115200|128000}
:SYSTem:COMMunicate:RS232:BAUD?
Description
Set the baud rate of the RS232 interface and the unit is Baud.
Query the baud rate of the RS232 interface.
Parameter
Name
Type
Range
Default
{4800|7200|9600|14400|
19200|38400|57600|
115200|128000}
Discrete
4800|7200|9600|14400|
19200|38400|57600|
115200|128000
9600
Explanation
Before using the RS232 interface, connect the RS232 interface to the PC or data
terminal equipment (DTE) using a RS232 cable and set the interface parameters
(such as the baud rate and parity) that match the PC and data terminal equipment.
Return Format
The query returns the baud rate of the RS232 interface, for example, 19200.
Example
:SYST:COMM:RS232:BAUD 19200 /*Set the baud rate of the RS232 interface to
19200*/
:SYST:COMM:RS232:BAUD? /*Query the baud rate of the RS232 interface
and the query returns 19200*/