From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Ghost GPIB instrument in NI-MAX

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?

 

VISACapture.PNG

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?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 1 of 13
(5,071 Views)

You can right click on the device and select delete

greetings from the Netherlands
0 Kudos
Message 2 of 13
(5,057 Views)

@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"

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 13
(5,050 Views)

Do you have administrator rights?

greetings from the Netherlands
0 Kudos
Message 4 of 13
(5,046 Views)

Administrator does not matter, still no option to delete.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 13
(5,045 Views)

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.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 6 of 13
(5,041 Views)

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

Message 7 of 13
(5,002 Views)

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)

 

 

 

0 Kudos
Message 8 of 13
(4,774 Views)

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
Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 9 of 13
(4,761 Views)

how can I delete all these ghost instruments?

0 Kudos
Message 10 of 13
(4,748 Views)