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