Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI VISA in C#, seeing GPIB "phantom" devices

I am using C# version 7.3, and VISA NET shared components 5.11.0, and I'm not sure what other version numbers may be relevant here (if you need something though, we can figure that out).  I connect to an instrument at, let's say, GPIB0::15::INSTR, and proceed with my testing.  For my next test, I disconnected this instrument at GPIB::15, and switched to something else, but the "GlobalResourceManager.Find()" method still sees GPIB0::15::INSTR and attempts to communicate with it.  I'm especially puzzled because NI MAX no longer sees a device there.

 

I have other instruments on GPIB to talk to so filtering that way is not an option.  The inconvenience is an extra popup that says "no listeners condition detected ... ".  It otherwise does not impact performance of the application, but it is quite annoying since I can't seem to avert this condition.  Can anyone point me in the right direction?

0 Kudos
Message 1 of 1
(187 Views)