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:
- Open the gpib.ini file located in the target computer.
- 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).
- Under the unused GPIB ID element, search for the entry BoardName = None.
- Modify this line to BoardName = GPIB-ENET/1000.
- Under the same unused GPIB ID element search for a line with the entry BoardType = 0xFF.
- Modify this line to BoardType = 0xD9
- Repeat steps 2-6 if there are more GPIB-ENET/1000 devices to import.
- Save the gpib.ini file.
- 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.
- 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.