LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I temporarily stop an mean measurement

Solved!
Go to solution

Hi

 

I am building a system with two aquarium tanks connected with a tunnel so the fish can choose between the tank. The tanks will have changing turbidity levels. I have set up a statistic mean VI that constantly measures the mean turbidity the fish has experienced over the course of the experiment. However, my turbidity probes have a wiper on them that rotates every 15 min and when that happens I need it to temporarily stop taking the mean. 

 

The way I have set it up in the attached VI is wrong because it just return the previous values while the wiper is on and therefore skews the end result.

 

Can anyone help me.

 

Thank you.

0 Kudos
Message 1 of 2
(903 Views)
Solution
Accepted by topic author Math808

With that example code, the simplest modification is to put the Mean Pt-by-Pt VI inside the false case of the loop.

cbutcher_0-1600823544054.png

 


GCentral
Message 2 of 2
(895 Views)