05-10-2018 02:25 PM - edited 05-10-2018 02:27 PM
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?
05-10-2018 03:04 PM
05-10-2018 04:02 PM
@Albert.Geven wrote:
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"
05-10-2018 04:12 PM
05-10-2018 04:29 PM
Administrator does not matter, still no option to delete.
05-10-2018 05:16 PM - edited 05-10-2018 05:17 PM
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.
05-11-2018 09:46 AM
Hi RTSLVU,
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.
Thanks,
Pankaj
10-03-2018 07:14 AM - edited 10-03-2018 07:15 AM
hello,
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)
10-03-2018 01:39 PM - edited 10-03-2018 01:43 PM
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.
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_8086&DEV_9D13&SUBSYS_8079103C&REV_F1\3&11583659&0&E3\Control
10-04-2018 02:03 AM
how can I delete all these ghost instruments?