Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Ghost GPIB instrument in NI-MAX

Highlighted

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?

-------------------------------------------------------------------
Unfortunately, most readers of this Forum, including some real Experts, have not mastered the skill of being able to read the code that Posters fail to post. If we cannot see "what you did wrong", we are unable to tell you how to fix it. (Bob Schor 28 August 2018)
0 Kudos
Message 1 of 11
(788 Views)

You can right click on the device and select delete

greetings from the Netherlands
0 Kudos
Message 2 of 11
(774 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"

-------------------------------------------------------------------
Unfortunately, most readers of this Forum, including some real Experts, have not mastered the skill of being able to read the code that Posters fail to post. If we cannot see "what you did wrong", we are unable to tell you how to fix it. (Bob Schor 28 August 2018)
0 Kudos
Message 3 of 11
(767 Views)

Do you have administrator rights?

greetings from the Netherlands
0 Kudos
Message 4 of 11
(763 Views)

Administrator does not matter, still no option to delete.

-------------------------------------------------------------------
Unfortunately, most readers of this Forum, including some real Experts, have not mastered the skill of being able to read the code that Posters fail to post. If we cannot see "what you did wrong", we are unable to tell you how to fix it. (Bob Schor 28 August 2018)
0 Kudos
Message 5 of 11
(762 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.

 

 

-------------------------------------------------------------------
Unfortunately, most readers of this Forum, including some real Experts, have not mastered the skill of being able to read the code that Posters fail to post. If we cannot see "what you did wrong", we are unable to tell you how to fix it. (Bob Schor 28 August 2018)
0 Kudos
Message 6 of 11
(758 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

0 Kudos
Message 7 of 11
(719 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 11
(491 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 11
(478 Views)

how can I delete all these ghost instruments?

0 Kudos
Message 10 of 11
(465 Views)