I have a ghost instrument that shows up in NI-MAX on GPIB0::1::INSTR in NI-MAX
This instrument shows up even if THERE IS NO GPIB INTERFACE PRESENT!
How can I get rid of this?
As you can see the instrument shows up and my NI USB-GPIB-HS is disconnected from the system.
How can this instrument exist in NI-MAX?
You can right click on the device and select delete
No I can't, the only options on the right click menu are "Rename" and "Open VISA Test Panel"
Administrator does not matter, still no option to delete.
Obviously NI-MAX has screwed up the Windows Registry as I completely removed all NI software from this computer and reinstalled.
But the ghost instrument on GPIB address 1 of a nonexistent GPIB interface remains.
Which version of NI-VISA do you have? If you have 17.5 or higher, it is a bug in those versions where NI-VISA remembers that last set of GPIB instruments it found while doing a viFindRsrc from any application, but in some cases doesn't properly synchronize those with what exists in MAX database. In your case, if you run any application that does viFindRsrc, such as the utility NI-VISA Interactive Control, it would cause VISA to refresh the list of resources and update what it has remembered. Note that this ghost resource will never be returned by viFindRsrc in your application and it will go away the first time that call is made from anywhere.
If you have an older version of VISA, then please post that version here and I will be happy to help you diagnose the issue.
I have the same issue here.
Which is the solution to not have ghost gpib instruments in NI-MAX ??
Is there any way to delete all those ghost instrument from registry?
NI-GPIB 17.6 here (last version available for windows)
An instrument appears in the registry when the Control folder exists. The Control folder is an indicator from the system that hardware exists. I have temporarily created several instruments in this manner; however, seeing that the hardware is not present, it does not communicate.