Hi,
I am trying to acquire data on a digital audio broadcasting (DAB) transmission frame which is 96 ms of duration. I am using a DAQPad 6016 with Labview 7.1. I want to acquire or send I/O :
1 - AI- Analog 1D Wfm N Chan N Samp (finite sample Rate: 33000 Hz Nb of samples: 1024)
2 - AI - Analog 1 Chan 1 Samp
3 - DO - Digital U8 1 Chan 1 Samp
4 – DO - Digital U8 1 Chan 1 Samp
My problem is the following: it takes longer than the transmission to acquire the data. When I run the Labview Profiler I see that my DAQmx Read fonction for the Analog 1D wfm N Chan N Samp takes around 75.3 ms and should take around 1024 / 33000 Hz = 31 ms. I guest I would need to use a buffer to improve it but I don't exactly know how to use it with a finite sampling. Also, I want to create all my channels outside the while loop, what is the best to synchronize my four Start Task.vi ( in way that I won’t get a reserved resource error) ?
What I need to do: I need to load to all the channels once outside the loop then I want to start each one after another and stop them when they are done for a total duration of 96 ms.
Maybe there is a better to solve this, please let me know...
Thank you very much,
Cheers,