Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

CWAI control crashes Visual Studio

Solved!
Go to solution

I am trying to read analog data from a PCI-MIO-16E-1 card and have installed NI-DAQ 7.5. I want to use the legacy driver because that is what my other software uses. When I go into Visual Studio (Express 2015) and add the CWAI control to the toolbox and then add it to the form Visual Studio crashes shortly afterwards. The version of CWAI control is 1.4. I am trying to use the free control that comes with the NI-DAQ driver. What is causing Visual Studio to crash?

0 Kudos
Message 1 of 4
(4,389 Views)
Solution
Accepted by topic author GP14

@GP14 wrote:

I am trying to read analog data from a PCI-MIO-16E-1 card and have installed NI-DAQ 7.5. I want to use the legacy driver because that is what my other software uses. When I go into Visual Studio (Express 2015) and add the CWAI control to the toolbox and then add it to the form Visual Studio crashes shortly afterwards. The version of CWAI control is 1.4. I am trying to use the free control that comes with the NI-DAQ driver. What is causing Visual Studio to crash?


Did you bother verifying that NI-DAQ 7.5 is compatible with Visual Studio 2015 and the version of Windows you are running?

Message 2 of 4
(4,379 Views)

I checked that NI-DAQ 7.5 is compatible with Windows Vista and Windows 7 32 bit versions so the version of Windows is ok. As for the version of Visual Studio I don't know but I wouldn't expect the VS version to be too important. My DAQ card is fine in MAX.

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

Turns out it isn't compatible with any recent version of Visual Studio even going back to 2008 - works ok in Excel using VBA though. There must be some tweaks to get it to work in NET?

0 Kudos
Message 4 of 4
(4,331 Views)