From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pump stop with a condition?

I am using a DO to write the pump start and stop in the HMI on the otherhand I am reading PT values in the same VI.

I wish put a condition on the pump stop, if the level of the level of the pressure increases upto 4bar it automatically stops.

Also user can stop the button itself wheneevr they want ...in the same loop..

how can I do that?

0 Kudos
Message 1 of 2
(1,883 Views)

Hi,

 

I am not sure what exactly are you trying to do. Attaching a piece of your code would give us a better idea. By the way, a state machine with an event structure would do these kind of works perfectly.

 

Regards,

 

Nitzz

(Kudos are always Welcome;))

0 Kudos
Message 2 of 2
(1,874 Views)