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

Page 207

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-195

:SYSTem:COMMunicate:LAN:SMASk

Syntax

:SYSTem:COMMunicate:LAN:SMASk <mask>

:SYSTem:COMMunicate:LAN:SMASk?

Description

Set the subnet mask.
Query the subnet mask.

Parameter

Name

Type

Range

Default

<mask>

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 <mask> is nnn.nnn.nnn.nnn; wherein, nnn ranges from 0 to 255.

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

the

:SYSTem:COMMunicate:LAN:APPLy

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:APPLy

:SYSTem:COMMunicate:LAN:STATic[:STATe]

Advertising