LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with button event

Solved!
Go to solution

I have 3 events in a while loop each of this event are condtioned with value change of a button so we have 3 buttons in totall , now when i press each button each event works fine but when i press them again i expect it to run again but it doesnt so it just runs once , is this expected of an event to just run one time ? and the while loop illtierate only 1 time when 3 buttons value change (when all events are excuted)

0 Kudos
Message 1 of 4
(2,435 Views)

You should post the code you are currently working on.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,425 Views)
Solution
Accepted by topic author TheTrice

As well as posting your code, remember - if you're trying to use latched Boolean controls in Event Structures, you have to place the control inside the structure itself to ensure it works correctly. Not doing this can often result in the behaviour you're talking about.

 

For more info on Event Structures:

 

https://www.ni.com/docs/en-US/bundle/labview/page/caveats-and-recommendations-when-using-events-in-l...

---
CLA
0 Kudos
Message 3 of 4
(2,413 Views)

Thanks that was the problem 🙂

0 Kudos
Message 4 of 4
(2,396 Views)