LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't remove non-existant instruments from NI-MAX

Solved!
Go to solution

I'm having a problem of non-existent devices showing up in my Measurement & Automation Explorer:

 

I have a Windows 10 machine with NI-VISA 20.0 that was connected to a LAN with 3 GPIB-ENET/100 bridges, each of which had a variety of devices on it. Then I moved the computer to a different LAN, which has its own pair of GPIB-ENET/100 bridges with attached devices. When I open NI-MAX and expand "Devices and Interfaces" in the tree-view, it shows me the two new bridges (and their devices if I expand those tree-view items), but it also lists a bunch of devices on a non-existant "GPIB3" bus directly under the "Devices and Interfaces" item. I've tried Tools->Reset Configuration Data from the menu bar several times, and rebooted, but the phantom devices continue to show up.

 

When I rebooted the computer with the 2 Ethernet bridges turned off and open NI-MAX, the devices that used to be listed under the individual Ethernet bridges also show up directly under "Devices and Interfaces" with no apparent way to remove them.

0 Kudos
Message 1 of 6
(2,359 Views)

The image in this idea shows you how to remove old instruments.

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
Message 2 of 6
(2,327 Views)

Unfortunately the problem isn't related to remote systems, and the "delete disconnected systems" option is grayed out on my machine.

0 Kudos
Message 3 of 6
(2,306 Views)
Solution
Accepted by Spiehler

Can you see if one of these files contains the systems you want gone:

 

C:\ProgramData\National Instruments\NIvisa\visaconf.ini

C:\ProgramData\National Instruments\NI-488.2\gpib.ini

 

If so, you may be able to just manually delete them from that INI file.   However, since you say that "Tools->Reset Configuration Data" doesn't get rid of them, they might just pop up again...

Message 4 of 6
(2,300 Views)

Are you sure they aren't reachable?  Have you tried actually communicating with them, or is there an (x) on them?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 6
(2,282 Views)

That was pretty close. I ended up finding some "GPIB3" references in C:\ProgramData\National Instruments\NIVisa\visasrc.xml and "GPIB2" and "GPIB3" references in the gpib.ini file you mentioned. After I deleted the references and rebooted, MAX was no longer showing the ghost instruments, just the GPIB-ENET/100 bridges and real devices.

Message 6 of 6
(2,267 Views)