Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

DAQmx continuously update output array from example

$
0
0

Hello,

 

I am using the example Synch_AI-AO in the DAQmx folder and it works great for sine waves, pulses, triangle waves or anything periodic. However, I would like to output a noise array which is generated from the WhiteNoise function, which is continously updated every N seconds. 

 

I have tried calling the StopCallback then the StartCallback after delaying for N seconds, but since I have to be in function when I call these callbacks I end up getting back to the place where I called them before exiting them (like recursion), which kills my program.

 

Is there a way to update output so that it doesn't cause the recursion issue that locks up my program?

 

Thanks.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>