04-03-2009 01:48 PM
There are sets of sample code available on-line, and when trying to run DAQmxAOUpdate or DAQmxAOeverynsamples, I get a reoccurring error message that I am unable to fix. "This version of MeasurementStudio only supports MFC version 7.1 or higher"
I am running Microsoft Visual C++ 2008 edition with Microsoft Platform SDK for Windows Server 2003 R2 and Microsoft Windows SDK v 6.1
I looked for a newer MFC version, but didn't find one, maybe due to an error in the method I was searching.
I am looked to do some basic analog voltage outputs on two channels on a NI USB 6221 with c++ rather than labVIEW. Thank you for your assistance.
04-06-2009 12:15 PM
There are some examples that install with DAQmx that you should be able to use. They are installed in the start menu»programs»national instruments»ni-daq»text based code support»visual c++ 2008 examples.
Hope this helps.
04-09-2009 01:28 PM
04-10-2009 09:49 AM - edited 04-10-2009 09:49 AM
Visual C++ 2008 requires MFC 9.0.21022. It should be available for download from microsoft.
http://en.wikipedia.org/wiki/Microsoft_Foundation_Class_Library#Versions