
Programming via LAN
5
Agilent VISA User’s Guide
125
Remote USB Interface (USB VISA LAN Client)
A remote USB interface can use only the SICL-LAN protocol. It can
communicate with USB devices attached to a remote PC running the
Remote IO Server software.
Note that if you have defined a VISA alias for a USB device on the
remote I/O server, you must either define the same (or another) alias for
the remote USB device on the client PC, or use the full USB resource
string. Alias definitions are not shared between the remote I/O server
and the client.
Addressing a Session Using a Remote Interface
In general, the rules to address a remote session are the same as to
address a local session. The only difference for a remote session is that
you use the VISA interface ID (provided during I/O configuration via
Connection Expert) that relates to the remote interface.
The following sample shows one way to open a device session with a
GPIB device at primary address 23 on a remote PC that is running
Remote IO Server software. A remote GPIB interface has been
configured at GPIB2 to communicate with that machine. See Chapter 3,
“Programming with VISA”, for more information on addressing device
sessions.
ViSession defaultRM, vi;.
.
viOpenDefaultRM(&defaultRM);
viOpen(defaultRM, "GPIB2::23::INSTR", VI_NULL,
VI_NULL, &vi);
.
.
viClose(vi);
viClose(defaultRM);
Summary of Contents for E2094S
Page 6: ...6 Agilent VISA User s Guide ...
Page 116: ...116 Agilent VISA User s Guide 4 Programming via GPIB and VXI ...
Page 126: ...126 Agilent VISA User s Guide 5 Programming via LAN ...
Page 143: ...Glossary Agilent VISA User s Guide 143 Windows notification area See notification area ...