User`s guide

122 Agilent VISA User’s Guide
5 Programming via LAN
Some examples of TCPIP resource strings follow.
Table 28 Example TCPIP Resource Strings
String Description
TCPIP0::testMachine@agilent.com::gpib0,2::INST
R
A VXI-11.2 GPIB device at hostname
testMachine@agilent.com.
TCPIP0::123.456.0.21::gpib0,2::INSTR A VXI-11.2 GPIB device at a machine whose IP address is
123.456.0.21.
TCPIP0::myMachine::inst0::INSTR A VXI-11.3 LAN instrument at hostname myMachine.
TCPIP::myMachine A VXI-11.3 LAN instrument at hostname myMachine. Note that
default values for board = 0, LAN device name = inst0, and the
::INSTR resource class are used.
TCPIP0::testMachine1::COM1,488::INSTR An RS-232 device connected to a LAN server or gateway at
hostname testMachine1. This device must use SICL-LAN
protocol since RS-232 devices are not supported by the VXI-11
protocol.
TCPIP0::myMachine::gpib0,2::INSTR A GPIB device at hostname myMachine. This device must use
SICL-LAN protocol since gpib0,2 is not a valid remote name
with the VXI-11 protocol.
TCPIP0::myMachine::UsbDevice1::INSTR A USB device with a SICL alias of UsbDevice1 connected to a
LAN server at hostname myMachine. Note that the SICL alias is
defined on the remote machine, not on the local machine.
Although the SICL and VISA alias names are normally the same,
if they are not, you must be sure to use the SICL alias and not the
VISA alias.
This device must use the SICL-LAN protocol since USB devices
are not supported by the VXI-11 protocol.