10-28-2011 04:03 AM
Hi,
I am not so expert in LabView, so maybe this is an easy question, I hope I'm in the right post.
I want to read as fast as possible all my channels whithout using DAQ assistant, so I've created a loop for high speed acquisition. So far is working, but I don't want to store and represent all the values because this would take long. So I want to take each 200 samples ( my loop is for 1000 samples), take a mean value of each channel (around 70 channels) for these 200 samples, and store and represent them, therefore in that way I would have to have 5 values per channel.
Here is my VI so far.
Thanks in advance.
10-31-2011 07:53 AM
Hi Vardemis.
Here is an example for you. I hope it can help you.
When there is more, so write back.
Best regards
Bernhard Rennhofer
10-31-2011 09:12 AM
A litlle know Vi in Labview is this one. It is also a point by point version of it
Decimate (single shot) VI
Owning Palette: Signal Operation
VIsRequires: Full Development System
Decimates the input sequence X by the decimating factor and the averaging Boolean control. Wire data to the X input to determine the polymorphic instance to use or manually select the instance
If you have an Array and want to downsample it. This VI will be perfect for the job.
11-02-2011 09:20 AM
Hi BRenhofer,
unfortunately, the VI is a newer LabView version than the one I'm using, LabView 2009, and I can't open it. Can you save it in an older version and post it? It would be very helpful.
Thanks in advance.
11-02-2011 09:23 AM
please try this vi.
sorry
11-02-2011 09:25 AM
Hi Coq Rouge,
you are talking about some VI but is none atached, or I'm missing something. Sorry, but I don't understand what should be the goal of this VI, is meanly for the mean calculation?
Thanks
11-02-2011 09:31 AM
Hi Vardemis.
The Vi which Coq Rouge has describe is a standard vi in the developer suite of LabVIEW.
You find it in the Function(right click in the block diagram)->signal processing -> Sig operation -> decimate (sgl)
11-02-2011 10:10 AM
I attached a vi that uses the producer/consumer design pattern. Using this design, you can do processing on the data without slowing the data collection. I also included the decimate vi that Coq Rouge suggested.
11-02-2011 11:31 AM
Hi patrickpollock,
sorry, but the file is a newer version of LAbView than the one I'm using, LabView 2009. Could you store it in an older version and post it again? Would be very helpful.
Thanks!
11-02-2011 11:56 AM
Hi.....
here is the version for LV2009
Bernhard Rennhofer
AE National Instruments