How Do I Configure Keysight Board Numbers and Logical Units for Use with VEE?

If you have used Keysight VEE Pro with National Instruments (NI) GPIB interfaces in the past, and now wish to replace your NI interfaces with Keysight GPIB interfaces, you must do a simple configuration step to make your programs work without changing your VEE code.

NI GPIB interfaces (boards) have board numbers in the range 0 to 3. In NI MAX, these are displayed as GPIB interface IDs GPIB0 to GPIB3. These board numbers correspond to VEE select codes 14, 15, 17, and 18 respectively. To make your programs work without changing the select code in the VEE program, simply change the VISA interface ID of your Keysight interface to correspond to the referenced logical unit, or to the GPIB interface ID that was formerly assigned to your NI GPIB interface. You do not need to change the logical unit number of the interface.

VISA Interface ID

Corresponding Select Code

GPIB0

14

GPIB1

15

GPIB2

17

GPIB3

18

For example, if you had an NI GPIB card installed as GPIB0, your VEE program refers to it with the select code 14. To make this program work with a Keysight interface that replaces the NI card:

  1. In Connection Expert, select the Keysight GPIB interface.
  2. Change the VISA interface ID to GPIB0, to correspond to the NI GPIB interface ID and to the select code 14.

Note that the board number (used in Keysight 488 function calls) is the numeric part of the VISA Interface ID. For example, if the VISA interface ID of your interface is GPIB1, its board number is 1.

The default logical unit number for an NI interface in Connection Expert is 32. Because VEE assigns logical unit 14 to the same interface, your interface may be displayed twice in VEE (once as select code 14 and once as 32). You can ignore the second instance of the interface in VEE.

Optimizing Your VEE Pro Program

If you wish to change your VEE code to optimize access to the Keysight interface, modify the code to use the Keysight interface's logical unit number (shown in the Edit Existing Instruments/Interfaces view) rather than the logical unit 14, 15, 17, or 18. This allows VEE Pro to communicate with your interface directly through SICL, rather than through Keysight 488. SICL communication is slightly faster.