04-11-2012 12:36 PM
I am converting an application from VS2008 c# .net 3.5 (that has worked for a few years) to VS2010 c# .net4.0. When I run I am able to comunicate as expected to an NI-PCI 6509; however when I get to a point in code to set up an Analog channel for a NI-USB-6009 I get an error 'attempt to read or write to protected memory' I can't explain why. I also read on one of the NI forms that I needed to upgrade to NI-DAQmx 9.4 to be compatible with VS2010 and .net 4.0; Having done that the availble 'NationalInstruments.DAQmx.dll' calls for a version of 'NationalInstruments.Common.dll' 8.1.11.168 that does not exist from the install. Is this by design or are there other steps that need to be taken inorder to get NI-DAQmx 9.4 operable.
Loren
Solved! Go to Solution.
04-12-2012 11:52 AM
Hi Loren,
Have you tried to reinstall the .NET Framework (4.0) and then reinstalling the drivers? (You can also upgrade to the latest version of the driver -9.5- that you can find here).
Regards,