I an debugging a C# application where I use
NationalInstruments.VisaNS.ResourceManager.FindResources("ASRL?*INSTR") to find the list of instruments connected to my COM ports. This has worked fine for several years but now, sometimes when I run my application from within Visual Studio (2010), after having halted and recompiled my application, this call will never return. (I have code in destructors for calling Session.Dispose() to release the COM ports properly)
I then have to restart the computer to proceed with my debugging. This is off course quite annoying.
Drivers: NI Serial 3.9, Visa 5.2.0
OS: Windows XP service pack 3
Computer Dell Optiplex 755
Regards @nders