Lxi:mdns:enable, Lxi:mdns:hname, Lxi:mdns:sname:desired – RIGOL DG1000Z Series User Manual

Page 51

Advertising
background image

Chapter 2 Command System

RIGOL

DG1000Z Programming Guide

2-39

:LXI:MDNS:ENABle

Syntax

:LXI:MDNS:ENABle {ON|1|OFF|0}

:LXI:MDNS:ENABle?

Description

Enable or disable the multiple DNS system (mDNS).
Query the status of the multiple DNS system (mDNS).

Parameter

Name

Type

Range

Default

{ON|1|OFF|0}

Bool

ON|1|OFF|0

ON

Return Format

The query returns ON or OFF.

Example

:LXI:MDNS:ENAB ON /*Enable the multiple DNS system*/
:LXI:MDNS:ENAB? /*Query the status of the multiple DNS system and the

query returns ON*/

:LXI:MDNS:HNAMe

Syntax

:LXI:MDNS:HNAMe[:RESolved]?

Description

Query the host name of the mDNS analyzed.

:LXI:MDNS:SNAMe:DESired

Syntax

:LXI:MDNS:SNAMe:DESired <name>

:LXI:MDNS:SNAMe:DESired?

Description

Set the service name of mDNS.
Query the service name of mDNS.

Parameter

Name

Type

Range

Default

<name>

ASCII string

Refer to the

“Explanation”

rigollan

Explanation

 <name> is a string and can include English letters and numbers.

 This setting is stored in the non-volatile memory and will not change when the

instrument is turned off and then turned on again or when the

*RST

command

is sent.

 Sending the

:SYSTem:SECurity:IMMediate

command will set the service name

of mDNS to its default.

Return Format

The query returns a string, for example, RIGOL1.

Example

:LXI:MDNS:SNAM:DES RIGOL1 /*Set the service name of mDNS to RIGOL1*/
LXI:MDNS:SNAM:DES? /*Query the service name of mDNS and the query

returns RIGOL1*/

Related

Command

:SYSTem:SECurity:IMMediate

Advertising