Technical data
Agilent Signal Generators Programming Guide 37
Using IO Interfaces
Using LAN
From a UNIX
®
workstation, type (UNIX is a registered trademark of the Open Group):
ping <hostname or IP address> 64 10
where <hostname or IP address> is your instrument’s name or IP address, 64 is the packet size,
and 10 is the number of packets transmitted. Type man ping at the UNIX prompt for details on the
ping command.
From the MS–DOS
®
Command Prompt or Windows environment, type:
ping -n 10 <hostname or IP address>
where <hostname or IP address> is your instrument’s name or IP address and 10 is the number of
echo requests. Type ping at the command prompt for details on the ping command.
NOTE In DHCP mode, if the DHCP server uses dynamic DNS to link the hostname with the
assigned IP address, the hostname may be used in place of the IP address. Otherwise, the
hostname is not usable and you must use the IP address to communicate with the signal
generator over the LAN.
If You Have Problems
If you are experiencing problems with the LAN connection on the signal generator, verify the rear
panel LAN connector green LED is on.
For additional information on troubleshooting your LAN connection, refer to the Help in the Agilent
IO Libraries and documentation for LAN connections and problems.
NOTE The N5161A/62A signal generators have a LAN Reset hardkey on the front panel that can be
pressed to reset the instrument to either the factory default address conditions or to the
manually set address conditions.
Press and release the LAN Reset hardkey once to reset the instrument to the factory default
conditions, with a default IP address of 169.254.9.16. If there is a DHCP server on the
network, the N5161A/62A will get an IP address from it first. If there is no DHCP server on
the network, the the instrument will switch to Auto- IP mode and assign the default IP
address of 169.254.9.16.
This is equivalent to sending the following SCPI commands:
:SYSTem:COMMunicate:LAN:DEFaults
:SYSTem:COMMunicate:LAN:RESTart
Press the LAN Reset hardkey for five seconds (until the LAN LED blinks) to reset the
instrument to the manually set conditions.
If there are multiple N5161A/62A instruments operating on the same network, one
MS–DOS, and Visual Basic are registered trademarks of Microsoft.