Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmxRegisterEveryNSamplesEvent - Callback function

Hello everyone,

I have a question regarding the DAQmxRegisterEveryNSamplesEvent callback function.

I'm using DAQmxWriteAnalog64 function to generate a wave form with 10240 samples (for example), and my purpose, is to execute the callback function every time 10 samples are generated (so...1024 times per wave generated). Is it possible to do that? My question arise since my callback function was executed once per complete wave form generated (so, 10240 samples).

 

hope you can help,

 

with the best regards,

 

João Rodrigues.

 

 

0 Kudos
Message 1 of 1
(4,782 Views)