Network Configuration
The following SCPI commands control the two network interfaces of the instrument.
Note that there are two interfaces at the rear side of the instrument; the left connector is addressed
with index 1, the right connector is addressed with index 2.
All addresses are IPv4.
:NETWork:RESet
Syntax:
:NETWork:RESet
Resets both network interfaces into their default configurations (see also page 15).
Note that when you issue this command over a network connection, the connection will obviously
drop.
Example command:
NETW:RES
:NETWork:INTerface#:CONFigure
Syntax:
:NETWork:INTerface#:CONFigure <STATic|DHCP>[,<ip>,
[<subnet>,]<gateway>]
Configures a specified network interface to either DHCP or a static IP.
If using a static IP, the IP, a subnet mask and a gateway must be specified. Either the IP and a subnet
mask are specified separately, or an IP with a subnet suffix must be specified.
Note that when you configure the network connection that you use to issue this command, the
connection will obviously drop.
Example command:
NETW:INT1:CONF STAT,"192.168.0.10/24","192.168.0.1"
:NETWork:INTerface#:CONFigure:MODE?
Syntax:
:NETWork:INTerface#:CONFigure:MODE?
Returns the configured mode (
STATic
or
DHCP
) of the network port.
Example query:
NETW:INT1:CONF:MODE?
Example response:
STATic
:NETWork:INTerface#:CONFigure:IP?
Syntax:
:NETWork:INTerface#:CONFigure:IP?
Returns the configured IP of the network port.
Note that this IP is not necessarily the IP under which the instrument can be reached (e.g. when no
DHCP address is assigned). To determine the actual IP, use the
:NETW:INT#:IP?
query.
Example query:
NETW:INT1:CONF:IP?
Example response:
"192.168.0.10"
34
BitifEye Digital Test Solutions GmbH