Installation guide
Chapter 4 93
Configuring I/O Interfaces
Configuring LAN Interfaces
Example:
Configuring LAN
Client (LAN)
Interface
The LAN Client interface system in the following figure consists of a
Windows PC with a LAN card and three LAN instruments. Instrument1 and
instrument2 are VXI-11.2 (GPIB Emulation) instruments and instrument3 is
a VXI-11.3 LAN instrument.
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”. For the addressing
examples, instrument1 has been addressed by its machine name,
instrument 2 has been addressed by its IP address, and instrument3 by
its LAN name (inst0).
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 I/O 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
details on SICL commands.
5
LAN Card
Windows PC
LAN Instruments
Interface VISA/SICL Names
VISA Name SICL Name
"TCPIP0" "lan"
VISA/SICL Addressing (Using LAN Client)
VISA: viOpen (... "TCPIP0::instrument1::gpib0,5::INSTR"...)
viOpen (... "TCPIP0::1.2.3.4::gpib0,3::INSTR "...)
viOpen (... "TCPIP0::instrument3::inst0::INSTR"...)
SICL: iopen ("lan [instrument1]:gpib0,5")
iopen ("lan [1.2.3.4]:gpib0,3")
iopen ("lan [instrument3]:inst0")
LAN Client (LAN)
Open IO path to LAN instrument at address 5
Open IO path to LAN instrument at address 3
Open IO path to LAN instrument3
Open IO path to LAN instrument at address 5
Open IO path to LAN instrument at address 3
Open IO path to LAN instrument3
LAN
instrument1 machine name
gpib0,5
3
1.2.3.4 IP address
gpib0,3
instrument3
inst0
VXI-11.2
GPIB Emulation
VXI-11.2
GPIB Emulation
VXI-11.3
LAN instrument