Unable to Import the Configuration of a GPIB-ENET/1000 with NI MAX

Updated Dec 20, 2021

Reported In

Hardware

  • GPIB-ENET/1000

Software

  • Measurement & Automation Explorer (MAX)

Driver

  • NI-488.2

Issue Details

I have a mobile test system using a GPIB-ENET/1000 and I need to be able to connect it to different computers, instead of having to configure the GPIB device in each machine I'm trying to import an NI Configuration Export File (.nce) file using NI-MAX, in all of the computers in which the NI-488.2 driver is already installed. However, I get the following error in the Import Wizard:
 
image.png

Is there a way I can import the GPIB-ENET/1000 configuration without having to manually configure it in each computer?

Solution

Importing the configuration file will fail since the target computer doesn't recognize the GPIB device as it hasn't been connected to it yet. In order for the target computer to have the device's information you would need to modify or replace its gpib.ini file located in the folder C:\ProgramData\National Instruments\NI-488.2.
Note: In Windows 7, 8, 8.1, and 10,  C:\ProgramData is a hidden folder. You can display it by following this external guide.

The gpib.ini file from the computer in which the GPIB/ENET-1000 was configured will contain the necessary information for NI-MAX to detect the device. If you take this file and replace the one on the target computer with it, all information regarding GPIB devices will be copied to the target machine. After replacing the file, relaunch NI-MAX and import the Configuration Export File if the GPIB-ENET/100 is not already visible in NI-MAX.
Note: Make sure to use this approach only if both computers will use the same setup, as replacing the file will overwrite any previous configuration for GPIB devices.

You can also modify the target computer configuration file by following these steps:
  1. Open the gpib.ini file located in the target computer.
  2. Search for an unused entry for a GPIB device ID (if there hasn't been any GPIB device configured on the computer, the first unused ID will be GPIB0).
  3. Under the unused GPIB ID element, search for the entry BoardName = None.
  4. Modify this line to BoardName = GPIB-ENET/1000.
  5. Under the same unused GPIB ID element search for a line with the entry BoardType = 0xFF.
  6. Modify this line to BoardType = 0xD9
  7. Repeat steps 2-6 if there are more GPIB-ENET/1000 devices to import.
  8. Save the gpib.ini file.
  9. Relaunch NI-MAX, this time it will use the information in the gpib.ini file to properly import the information in the Configuration Export File when using the Import Wizard.
  10. Once imported, NI-MAX will update the gpib.ini file with other information from the device, such as the firmware version, IP and MAC addresses.