07-27-2012 01:25 PM
A Labview engineer helped me with the overall structure of my program, necessitated by the fast data sample rate and post processing requirements. He recommended the producer/consumer loop and using one of the example files (Cont Acq graph voltage - int clk) to do the actual data acquistion. So I put together the loop and go my two channels of data acq going in the producer loop. However, nothing's getting picked up in the consumer loop and none of my data gets displayed over there.
Anyone care to take a look at it and let me know what I'm doing wrong?
Solved! Go to Solution.
07-27-2012 01:46 PM - edited 07-27-2012 01:47 PM
It seems like the only time you would write data to the Queue (in the producer loop), would be when you stop the DAQ while loop or the DAQ throws an error.
Perhaps you should place the Enqueue Element node into the DAQ while loop.
07-27-2012 01:53 PM
Your Enque Element should be inside the while loop where you aquire the data. As it is now, the data has to stop being aquired before you send the last set of aquired data.
07-27-2012 02:43 PM
Perfect! Worked like a charm. That makes sense, I assumed it was something along those lines that someone would be able to spot in a second. Gave you both kudos, now not sure who to set as the solution to the problem.