LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calculate a flowrate

Hello,

 

I'm looking to create a simulator that can calculate a flowrate and output it serially. I have my hardware working so that isn't an issue.

 

What I need to accomplish it this:

There is a numeric input that the user will enter the desired flowrate, also one for a lower and upper limit.

A hopper will fill to the upper limit and begin to lower until it reaches the lower limit, then refill and continue...

I want the rate to come as close as possible to the desired flowrate.

 

My problem right now is how to set up the timing in labview as I'm not en expert using it.

 

Ron

0 Kudos
Message 1 of 2
(3,180 Views)

Do you have anything to work with yet? Could you show us what you have so far?

Are you provided with anything that you can start off from?

From the sound of it this is a reasonably simple project, if you were to take a while loop and perform addition to a variable that is passed to a while loop you should get a good start,

Fill.png

Actually if you look at the "Simulation - Tank Level.VI" from the labview built-in examples and strip it back it can do almost everything you need.

[Edit] That might be a bad idea, it might just confuse you. But removing things is definitely easier then adding them in

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