Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-VISA Crashing after Update

Hi All,

 

I have been using NI-VISA runtime 4.3 for some time now (as it is a dependency for the Ultrascope DS1000 software I use) and recently installed NI-VISA 15.0 found here. After installing the upgrade I get a crash every time i attampt to connect to my instrument as shown below.

 

This crash is not isolated to that particular program however as I experience the same crashing problem when i attempt to connect to the instrument in my c# code on the connection attempt line below. Has anyone else experienced this problem or have an idea what I can do to fix it? futher more could someone help to explain the difference between NI-VISTA drivers and NI-VISTA runtime Eninge??

 

 mbSession = (MessageBasedSession)ResourceManager.GetLocalManager().Open(strVISARsrc); 

 

Capture.PNG

0 Kudos
Message 1 of 3
(4,230 Views)
Can you communicate to an instrument in MAX? What sort of connection do you have for the instrument? What is your os? You did a large jump from 4.3. Did you check with the vendor to see whether you need to upgrade the application you are you using?

The runtime does not contain any development tools.
0 Kudos
Message 2 of 3
(4,213 Views)

I use Windows 10. 

The instrument has a USB connection

Vendor has supplied me with the latest software

 

Seems to have fixed the issue by completly uninstalling NI-VISA and re-installing

0 Kudos
Message 3 of 3
(4,208 Views)