System:communicate:lan:ipaddress, System:communicate:lan:mac – RIGOL DG1000Z Series User Manual

Page 206

Advertising
background image

RIGOL

Chapter 2 Command System

2-194

DG1000Z Programming Guide

:SYSTem:COMMunicate:LAN:IPADdress

Syntax

:SYSTem:COMMunicate:LAN:IPADdress <ip_address>

:SYSTem:COMMunicate:LAN:IPADdress?

Description

Set the IP address.
Query the IP address.

Parameter

Name

Type

Range

Default

<ip_address>

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 <ip_address> is nnn.nnn.nnn.nnn; wherein, the first nnn ranges

from 1 to 223 (except 127) and the other three nnn range from 0 to 255. It is

recommended that users acquire an available address 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.

Return Format

The query returns a string, for example, 192.168.1.88.

Example

:SYST:COMM:LAN:IPAD 192.168.1.88 /*Set the IP address to 192.168.1.88*/
:SYST:COMM:LAN:IPAD? /*Query the IP address and the query

returns 192.168.1.88*/

Related

Commands

:SYSTem:COMMunicate:LAN:APPLy

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

:SYSTem:COMMunicate:LAN:MAC?

Syntax

:SYSTem:COMMunicate:LAN:MAC?

Description

Query the MAC address of the instrument.

Explanation

MAC (Media Access Control) address, also called hardware address, is used for

defining the position of the network device. For a signal generator, the MAC address

is always unique. It is always used to identify the instrument while assigning IP

address for instrument. MAC address (48 bits, namely 6 bytes) is usually expressed

in hexadecimal format, such as 00-14-0E-42-12-CF.

Return Format

The query returns a string, for example, 00-14-0E-42-12-CF.

Advertising