Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting pulses and measuring flow rate per second

Hi everyone

I am using a compactField Point (cFP-2220) controller to measure the flow rate. The flow sensor that i have, gives the output in terms of the pulses. I need to count the number of pulses for a particular interval and divide it by a K-factor( constant value) to get the flow rate. If i select the interval to be of a second, i would want to count number of pulses per second and divide it by K-factor to get flow rate ( per second). 

How do i count pulses per second and consequently measure flow rate using this count and K-factor.

 

Any kind of help would be highly appreciated.

Thanks in advance.

0 Kudos
Message 1 of 3
(6,841 Views)

Hello, I am having a similar problem where my sensor (flowscan) will give flow rate in GPH and has a constant K factor of 32000 pulses for 16 GPH.

when i  connected the output to a CRO, am able to see the pulse output. The problem is that , this pulse train is not continuous as my flow is very low. I need to count the number of pulses present in 1 second and accumulate this data for 1 minute and average it to show the flow in LPH.

Anybody having an idea, please share it.

thank you.

0 Kudos
Message 2 of 3
(2,767 Views)

There are many options depending on your software/hardware.

  • DAQmx offers the block "counter" which can be configured to count input edges (transitions from low to high for example). It is possible to achieve this via a PXI card.
  • With FPGA, you can create your custom VI with a specified timing and characteristics. In this case rudimentary functions like digital I/O are used in combination with labview loops. Here either 1) a cRIO chassis with FPGA functionality is necessary (I do not know if cFieldPoint features this) in combination with a cRIO module or 2) a PXI chassis with a dedicated FPGA PXI card.

Basically one requires some I/O card or module supporting digital I/O and then either an DAQmx environment or an FPGA. The same goes to the flowscan issue.



Message 3 of 3
(2,731 Views)