LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

high speed data acquisition und average multiple channels

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.

0 Kudos
Message 1 of 10
(3,600 Views)

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

 

 

0 Kudos
Message 2 of 10
(3,562 Views)

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.



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 3 of 10
(3,556 Views)

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.

0 Kudos
Message 4 of 10
(3,538 Views)

please try this vi.

 

sorry

0 Kudos
Message 5 of 10
(3,536 Views)

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

0 Kudos
Message 6 of 10
(3,535 Views)

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)

 

 

 

0 Kudos
Message 7 of 10
(3,530 Views)

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.

0 Kudos
Message 8 of 10
(3,521 Views)

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!

0 Kudos
Message 9 of 10
(3,513 Views)

Hi.....

 

here is the version for LV2009

 

Bernhard Rennhofer

AE National Instruments

0 Kudos
Message 10 of 10
(3,511 Views)