LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Flowmeter Omega Fpr301 Labview Real-time flow rate and save to file

Hi, 

I'm setting up a OMEGA FPR301 flow meter. For every rotation of the device's wheel a pulse is generated. I need to count the number of pulses per minute to convert this value into a flow rate. In labview, I went through the edge count example, and I am able to count edges in realtime. 

 

However, I want to be able to setup a .vi where the number of pulses are counted and converted to a flow rate before saving to a file, and ideally the .vi will display the intantaneous flow rate while the system is running without losing count of any new pulses generated while the .vi is processing/displaying/saving the information. 

 

I have gone through the "Count Digital Events-Buffered-continuous Clk-count reset.vi" example in the Labview Help, since it seems I need to use the DAQ's clock to set it up.

 

Do you have any guidance on how to set this up? 

 

The DAQ I am using is the NI-6343, and the flow meter is the OMEGA FPR301 with digital pulses.  

 

Thanks!

 

 

0 Kudos
Message 1 of 3
(3,422 Views)

Given you are trying to manipulate data while continuously taking in data, it sounds like your best bet will be to implement a Producer-Consumer Loop

 

Here's an example as well: https://decibel.ni.com/content/docs/DOC-2431

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

@IEM_OT hi sir, have been able to produce a code for this application? I need to use Omega FPR300 on FPGA.

0 Kudos
Message 3 of 3
(3,102 Views)