Technical data

Programming Your Instruments 6
Agilent Connectivity Guide 145
iopen("lan[machineName]:gpib0,1") will use the
protocol type configured in Connection Expert. If Automatic is
configured, SICL-LAN protocol will be attempted. If SICL-LAN
is not supported, VXI-11 protocol will be used.
iopen("lan;auto[machineName]:gpib0,1") will
automatically select the protocol (SICL-LAN if available and
VXI-11 otherwise.)
iopen("lan;sicl-lan[machineName]:gpib0,1")
will use SICL-LAN protocol.
iopen("lan;vxi-11[machineName]:gpib0,1") will
use VXI-11 protocol.
The Agilent IO Libraries Suite also supports TCP/IP socket reads
and writes. To open a socket session, use
iopen("lan,socketNbr[machineName]"). For
example, iopen("lan,7777[machineName]") will open
a socket connection for socket number 7777 on 'machineName'.
Configuring LAN Interfaces
When you have configured LAN interfaces, you can then use the
interface name specified during configuration in a VISA viOpen call
in your program. A summary of the steps to configure a LAN interface
follows.
1 To check the configuration of your LAN interfaces using Connection
Expert, click the Agilent IO Control icon (blue
IO icon in the
Windows notification area) and click
Agilent Connection Expert.
When the main screen appears, highlight the LAN interface in the
explorer (center) pane –
LAN (TCPIP0) in this example and check
NOTE
A single LAN interface can be used by any number of devices. The
main reason for having more than one LAN interface configured is that
you want to use different protocols (such as SICL-LAN and VXI-11)
with different devices. You can also specify different time-out durations
for different LAN interfaces.