07-04-2020 07:32 AM
I have been running a Visual Studio windows app under VS2017 using the NIVISA v 17.0 USB drivers for several years. In just the last week the app has failed to run. Investigating the problem under the VS debugger, it fails to come out of the call establishing a VISA session with error trapping enabled to the NI Global Resource Manager and just sits in limbo under the debugger. The executable just disappears. without any indication it ran or attempted to run. The code is as follows:
Imports NationalInstruments.Visa
...
Try
intSessionCount = Ivi.Visa.GlobalResourceManager.Find("?*").Count
Catch ex As Exception
...
MS released a VS update (v15.9.24)not to long ago.
Is there a compatibility issue with the versions or is there something else going on?
Appreciate any clues on where to go from here.
Don
07-05-2020 07:01 PM
Windows performed another automatic update and the issue now seems to be resolved. All I can say is that the Gods must have been listening. All I can assume is that an update broke something and an update fixed something. I am now a happy camper!