Other Topics about GPIB Concepts
The VNA supports the following interfaces for SICL / VISA communication:
LAN - as a remote GPIB interface. The VNA LAN is presented as a virtual GPIB interface. It does NOT support simple TCPIP-based control. Therefore, when configuring the Keysight IO libraries on your PC, add a REMOTE GPIB interface, which uses the LAN client interface.
GPIB - requires that your external controller have a GPIB card.
Note: For optimum LAN interface performance, use COM to control the VNA. SCPI commands can be sent to the VNA using the COM SCPIStringParser object.
The following interfaces are NOT supported:
USB
Serial
Important Note:To enable VISA or SICL communication over LAN, you must do the following:
The VNA is now ready to be controlled over LAN. Learn more about this dialog box.
|
The Keysight I/O libraries includes the drivers to allow you to communicate with Keysight test instruments. Every VNA is shipped with the Keysight I/O libraries installed. We recommend you do NOT upgrade the Keysight I/O libraries on the VNA as unexpected results may occur. If you choose to upgrade the Keysight I/O libraries on the VNA, do NOT change the default folder path in the InstallShield Wizard.
To communicate with the VNA, the Keysight I/O libraries must also be installed on your external controller. To purchase the Keysight I/O libraries, or download a free upgrade, go to www.Keysight.com and search for IO Libraries. Scroll to find Software, Firmware & Drivers.
You can run your SICL / VISA program on the VNA to control the VNA. Although the Keysight I/O libraries are already installed on the VNA, it is configured as the Host. You must also configure a SICL or VISA LAN Client interface on the VNA, specifying the LAN hostname of that same VNA.
If your program uses the COM interface to VISA, and is compiled on a PC with the Keysight IO Libraries Suite (version 14 or later), and the resulting executable is copied and run on the VNA, it will produce a “type mismatch error”. This is because the VNA has the ‘M’ version of Keysight I/O libraries. The following Visual Basic code is an example of how to avoid this error when communicating with the VNA from within the VNA:
Dim rm As IResourceManager
Dim fmio As IFormattedIO488
Set rm = CreateObject("AgilentRM.SRMCls")
Set fmio = CreateObject("VISA.BasicFormattedIO")
Set fmio.IO = rm.Open("GPIB0::22")
fmio.WriteString "*IDN?" & Chr(10)
MsgBox fmio.ReadString()
The VNA can NOT be both a controller and talker/listener on the same GPIB bus. Using SICL / VISA, you can use LAN to control the VNA, leaving the VNA free to use the rear-panel GPIB interface to control other GPIB devices.
Open the Keysight Connection Expert.
Select each GPIB Interface and verify (or make) the default settings in the following table. These settings are REQUIRED when using a 82357A USB / GPIB Interface with the VNA.
When complete, click Accept to close the Keysight Connection Expert.
VISA Interface Name |
SICL Interface Name |
Dialog box title |
Description |
GPIB0 |
gpib0 |
GPIB Using NI-488.2 |
VNA Rear-panel GPIB connector. This GPIB interface can be used to control the VNA OR for the VNA to control external equipment. IT CAN NOT DO BOTH IN THE SAME PROGRAM. Learn more about pass-through options. |
GPIB1 |
hpib7 |
Internal Instrument Configuration |
Internal interface for programs running on the VNA to control itself. |
GPIB4 |
inst0 |
Internal Instrument Configuration |
Used for LXI compliance. Do NOT delete this interface. |
Please refer to the Keysight I/O libraries documentation to learn how to configure your controller to communicate with the VNA. These links can show you how to find the following VNA information:
VNA full computer name
GPIB Address
IP Address
This example program can help test your VISA configuration.