LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need a read out 10 times then get 1 valeu out

We need on this system: 10 x readout of the Press. valeu and we need the sum of these valeu devided by 10 to let the
pump work normaly. Now it works as follow: Press. down pump start to run and reached the set level of the prss. then it switches off
Press. falls down during the switch off and pump starts running again. This problem i like to fix but how?

hanks in advance, William

Dev. Pakage: Labview 6.1
Hardware: Fieldpoint
Running with Labview 6.1
Fieldpoint hardware
0 Kudos
Message 1 of 2
(2,474 Views)
To take the average of the last ten readings, add a couple of shift registers to your loop to keep track of how many readings you've taken and to use an array to build a circular buffer to hold the last 10 readings.
See the attached LabView 6.1 example.
0 Kudos
Message 2 of 2
(2,474 Views)