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: 

Simulating Start/Stop button Latch behavior

Solved!
Go to solution

In Labview I am simulating the action of two momentary pushbuttons beings used as a latching Start/Stop circuit.  Attached is my solution.  My question is there a more efficient way to do this?  My solution seems clumsy.

 

Thanks,

Jeff Beltramo

0 Kudos
Message 1 of 3
(2,670 Views)
Solution
Accepted by topic author jbeltramo

Hi Jeff,

 

why do you need the inner case structures? All they do is "IF true THEN true ELSE false" (aka "Rube-Goldberg")…

 

Once you deleted the inner case structures you can replace the outer one by a SELECT function:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,650 Views)

I have never been known for my efficiency of programming Smiley Embarassed

 

 

Thank you very much.

 

Jeff

 

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