04-08-2011 06:35 PM
I am updating an application for windows 7. When I run the application on Windows 7 i recieve an error "Could not find NIDAQ32.dll" The application works fine on XP where the legacy drivers can be installed but these drivers cannot be installed on windows 7.
So now I am attempting to modify the code to work with NIDAQmx. In the application I am loading the libaray like this
m = LoadLibrary("Nidaq32.dll");
Is there an equivalent to Nidaq32.dll for NIDAQmx or will I have to do things differently? I have already included Nidaqmx.h in the source project.
Thanks
04-09-2011 12:34 PM
Have you looked at the NI-DAQmx C Reference Help or in the 'Text Based Code Support' folder? The NI-DAQmx Help is also essential reading. You will need a good unerstanding of the old functions as well. There are not one for one replacements between the new and old drivers.
04-11-2011 08:51 AM
Thanks. I am taking a look at the example code and the reference manual. The application I'm working on is fairly old and I'm trying to figure out how the old drivers were used and then how to achieve the same goal with the new ones.