Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

VS2017 v15.9.24 compatibility with NIVISA v17.0

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

0 Kudos
Message 1 of 2
(2,111 Views)

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!

0 Kudos
Message 2 of 2
(2,057 Views)