Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmxRegisterEveryNSamplesEvent is never called in MFC environment

Hello? I'm uing DAQmx8.9 version with Visual  C++ 6. DAQmxRegisterEveryNSamplesEvent is never called in MFC environment.

 

Do I have to upgrade to .Net base compiler? I have Visual Studio 2008 and will install this tomorrow to see if this may work in .Net compiler.

I searched this forum and found I was not alone having this issue.

 

Regards,

 

 

 

Message Edited by anarkie on 08-05-2009 10:12 AM
I'm converting DAQ to DAQmx..from Parkoz.com
0 Kudos
Message 1 of 2
(6,360 Views)

Anarkie,

 

Thanks for posting on the NI Forums! From some of the documents that I was able to find it appears as though with DAQmx and using MFC you need to use VS 2003/2005/2008 for the best success. I am guessing that the reason you are having these problems is from using VS 6. I have attached the document I found that describes these points in more detail. Thanks!

 

Programming NI-DAQ in Visual C++ .NET (MFC)

 

Aaron W.
National Instruments
CLA, CTA and CPI
0 Kudos
Message 2 of 2
(6,336 Views)