automationlabviewsystem-designprocess-control

Designing a water tank factory process in LabVIEW


I am currently designing a factory process in LabVIEW. I have a tank filled with water. I want to transfer 80% from it to one tank and after that the remaining 20% into another tank. How can I do that in LabVIEW?


Solution

  • LabVIEW is a programming language. Design your application as you would in any other programming environment. I assume you have some sort of existing API for controlling a pump and for reading a depth sensor. Start the pump then run a while loop that polls your depth sensor. When the desired depth is reached, terminate the whole loop and then turn off the pump. If your sensor runs on an event system, use an event structure inside the while loop instead of the polling.