beautypg.com

System:communicate:lan:ipaddress, System:communicate:lan:mac, System:communicate:lan:ipaddress -114 – RIGOL DP832A User Manual

Page 138: System:communicate:lan:mac? -114

background image

RIGOL

Chapter 2 Command System

2-114

DP800 Programming Guide

:SYSTem:COMMunicate:LAN:IPADdress

Syntax

:SYSTem:COMMunicate:LAN:IPADdress
:SYSTem:COMMunicate:LAN:IPADdress?

Description

Set the IP address.
Query the current IP address.

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 is nnn.nnn.nnn.nnn; the first nnn ranges from 1 to 223

(except 127), the other three range from 0 to 255.

 You are recommended to ask your network administrator for an address

available.

 The new setting will only take into effect when

the

:SYSTem:COMMunicate:LAN:APPLy

command is executed to apply the

network parameter currently set after this command is send.

Return Format

The query returns the IP address, for example, 172.16.3.128.

Example

:SYST:COMM:LAN:IPAD 172.16.3.128 /*Set the IP address*/
:SYST:COMM:LAN:IPAD? /*Query the current IP address and the

query returns 172.16.3.128*/

Related

Commands

:SYSTem:COMMunicate:LAN:MANualip[:STATe]
:SYSTem:COMMunicate:LAN:APPLy

:SYSTem:COMMunicate:LAN:MAC?

Syntax

:SYSTem:COMMunicate:LAN:MAC?

Description

Query the MAC address.

Explanation

The MAC (Media Access Control) address is also called hardware address and is

used to define the location of the network device. For a power supply, the MAC

address is unique and is usually used to recognize the instrument when assigning IP

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

expressed in hexadecimal form, for example, 00-2A-A0-AA-E0-56.

Return Format

The query returns the MAC address, for example, 00-2A-A0-AA-E0-56.

This manual is related to the following products: