Hi!
I need to sample five channel data at 2.5 MHz, do some processing and store the processed results in a file. I have created a "Producer-Consumer" loop to do this. The "Producer" produces the data and the "Consumer" does the processing and storing. I am trying to reduce the execution time of the "Producer" loop so that the DAQ buffer does not get overwritten.
I have arrived at the conclusion after lot of experiments that I need to enqueue the five channel data with the sample size = 41750 samples/channel in the "Producer" loop queue in the format of a "Waveform"/ "2D Double Array"/ "Dynamic Datatype". I can not use "2D Double Array" as I need to extract the time information from one of the channels of the signal. Therefore, my choice seems to be limited to queuing the incoming data either in "Waveform" format or in "Dynamic Datatype" format. I do not want to use "Dynamic Datatype" as it invloves conversions to double that will slow down my loops.
The problem is I am failing to create a queue where the datatype is a "Waveform" of five channels with each channel containing 41750 samples. Can anybody help me out? I would appreciate if you can post the image of a small VI showing just the procedure to obtain the queue.
Thanks a lot in advance for the help.
Regards,
Aninda