User`s guide
E5810B User’s Guide 41
Installing the E5810B 2
Programming instruments
Addressing instruments using VISA and remote IO client
After you have created a remote GPIB, remote USB, or
remote serial interface in Keysight Connection Expert, you
can use ordinary GPIB, USB, or serial addressing in your
VISA or VISA COM programs to address instruments on
these interfaces.
The Remote IO Client software maps the TCPIP address
requests into the appropriate interface type (GPIB or ASRL)
addresses. Thus, the IP address and hostname of the E5810B
do not appear in the instrument address. This makes it
possible to use existing programs written for GPIB or ASRL
without modifying code.
After the remote interface instruments are configured, VISA
programs can then use addresses such as
GPIB0::22::INSTR (for GPIB), USB::INSTR (for USB), or
ASRL1::INSTR (for RS- 232). Use these addresses in your
viOpen() call as follows:
viOpen (..."GPIB0::22::INSTR"...)
viOpen (..."USB0::INSTR"...)
viOpen (..."ASRL1::INSTR"...)
Addressing instruments using VISA and TCPIP interface
Although remote GPIB, remote USB, and remote serial
interfaces are the most convenient ways to configure and
program instruments on your E5810B, you may choose not
to use them. For example, if you are using another vendor’s
I/O software rather than the Keysight IO Libraries Suite,
your I/O software may not support remote interface
addressing.
If you are not using remote interfaces, you will address your
instruments as TCPIP resources in VISA. These addresses
include the IP address or hostname of the E5810B as well as
the SICL address of the device on the E5810B.