Quantcast
Channel: Measurement Studio for VC++ topics
Viewing all articles
Browse latest Browse all 654

synchronizing analog and digital output

$
0
0

It is rather amazing that after years of discussions NI still did not publish any complete C example on the subject.

 

I have a very standard problem:

M-series board, DAQmx, analog and digital outputs have to generate pattern in a loop, synchroneously

In fact I just need a digital pulse at the beginning of the analog pattern

 

This is what I want to do:

3 tasks: AO, DO and ctr0

ctr0 generates continuously nSamples clocks on PFI12

AO and DO have patterns , nSamples long and continuous otput

Sample clocks of AO and DO are set to PFI12

ctr0 task will start the last.

 

Any comments ?

Boris


Viewing all articles
Browse latest Browse all 654

Trending Articles



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