Installation guide

92 Chapter 4
Configuring I/O Interfaces
Configuring LAN Interfaces
Example:
Configuring LAN
Client (Gateway)
Interface
The LAN Client interface system in the following figure consists of a
Windows PC with a LAN card, an E2050 LAN/GPIB gateway, and two GPIB
instruments. For this system, the IO Config utility has been used to assign
the LAN card a VISA name of “TCPIP0” and SICL name of “lan”.
With these names assigned to the interface, VISA/SICL addressing is as
shown in the figure. Since unique names have been assigned by IO Config,
you can now use the VISA viOpen command or the SICL iopen command
to open the IO paths to the GPIB instruments as shown in the figure.
See the Agilent VISA User’s Guide for details on VISA commands. See the
Agilent SICL User’s Guide for Windows for details on SICL commands.
5
LAN Card
Windows PC
3
GPIB InstrumentsLAN/GPIB GatewayInterface VISA/SICL Names
VISA Name SICL Name
"TCPIP0" "lan"
VISA/SICL Addressing (Using LAN Client)
VISA: viOpen (... "TCPIP0::machine1::hpib,5::INSTR"...)
viOpen (..."TCPIP0::machine1::hpib,3::INSTR "...)
SICL: iopen ("lan [machine1]:hpib,5")
iopen ("lan [machine1]:hpib,3")
LAN Client (Gateway)
Open IO path to GPIB instrument at address 5
Open IO path to GPIB instrument at address 3
Open IO path to GPIB instrument at address 5
Open IO path to GPIB instrument at address 3
E2050
LAN
GPIB Cable
machine1
hpib-name = hpib