Configure for SCPI LAN using SICL / VISA


Other Topics about GPIB Concepts

Analyzer Supported Interfaces

The analyzer supports the following interfaces for SICL / VISA communication:

Note: For optimum LAN interface performance, use COM to control the analyzer . SCPI commands can be sent to the analyzer  using the COM SCPIStringParser object.

The following interfaces are NOT supported:

Important Note:

To enable VISA or SICL communication over LAN, you must do the following:

  1. On the analyzer , click Utility, System, System Setup..., then select Remote Interface....

  2. Check SICL Enabled. To automatically enable SICL when the analyzer  is booted, check Automatically enable on Startup.

  3. Click OK.  

The analyzer  is now ready to be controlled over LAN.

Learn more about this dialog box.

 

Keysight I/O Libraries

The Keysight I/O libraries includes the drivers to allow you to communicate with Keysight test instruments. Every analyzer  is shipped with the Keysight I/O libraries installed. We recommend you do NOT upgrade the Keysight I/O libraries on the analyzer  as unexpected results may occur. If you choose to upgrade the Keysight I/O libraries on the analyzer , do NOT change the default folder path in the InstallShield Wizard.

To communicate with the analyzer , 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.

SICL / VISA Programs Running on the analyzer

You can run your SICL / VISA program on the analyzer  to control the analyzer . Although the Keysight I/O libraries are already installed on the analyzer , it is configured as the Host. You must also configure a SICL or VISA LAN Client interface on the analyzer , specifying the LAN hostname of that same analyzer .

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 analyzer , it will produce a “type mismatch error”. This is because the analyzer  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 analyzer  from within the analyzer :

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()
 

Controlling the analyzer  over LAN while controlling other instruments over GPIB

The analyzer  can NOT be both a controller and talker/listener on the same GPIB bus. Using SICL / VISA, you can use LAN to control the analyzer , leaving the analyzer  free to use the rear-panel GPIB interface to control other GPIB devices.

Configure the analyzer  for SICL / VISA

  1. Open the Keysight Connection Expert.

  2. 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 analyzer .

  3. 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

analyzer  Rear-panel GPIB connector. This GPIB interface can be used to control the analyzer  OR for the analyzer  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 analyzer  to control itself.

GPIB4

inst0

Internal Instrument Configuration

Used for LXI compliance.

Do NOT delete this interface.

Configure the External Controller

Please refer to the Keysight I/O libraries documentation to learn how to configure your controller to communicate with the analyzer . These links can show you how to find the following analyzer  information:

This example program can help test your VISA configuration.