LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tracking total consumed air based on litres per minute problem

Hello

 

I require assistance

I'm reading a signal into my program which represents litres per minute (L/m) flowing past a flow sensor. I wish to have an output that tracks the current total air that has passed through the flow sensor.

Example: Flow is around 2 L/m after 4 minutes the output should show 8 litres.

 

I have a feeling that it has something to do with integating the signal but I can't seem to get it to work.

I tried using Integral x(t) PtbyPt.vi

x: Flow sensor signal

initial condition: 0

dt: 1

 

0 Kudos
Message 1 of 3
(2,330 Views)
total = total + flow/(samples per minute) ?
0 Kudos
Message 2 of 3
(2,324 Views)

What is your sample rate really?  If you are getting data once a minute, then you can just use the Sum PtByPt VI instead.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,299 Views)