Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69585

How do use a timer to run a motor based on a variable?

$
0
0

Hello, i am very new to Labview and i am trying to use it for a Fuzzy Logic Controller.

The output from the Fuzzy Logic Controller is the duration for a pump to run. How do I set up a timer so that it has the takes the output from the controller and uses this value to time the running of the pump so that the pump turns off once the duration value is met?

 

For context the temperature is measured and only when it is above zero does it move on to analyse the inputs for the fuzzy logic controller. The water level and Blockage % are the two inputs (4-20mA) into the fuzzy controller which then outputs a percentage of rotation and is then calculated to determine a running duration for the pump, (which is only if the percentage of rotation is above 33%) Once the pump has run for the duration it shuts down and the cycle begins again. 

 

Does the program make sense for what i am trying to achieve? Any help would be much appreciated. 

 


Viewing all articles
Browse latest Browse all 69585


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>