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: 

Why the bottons keep pressed event though the event structure has already executed the event

Solved!
Go to solution

I have a problem with this VI, the event structure executes the event when the botton is pressed but the botton keeps pressed even though the event has already executed, just the stop button works as it must be.

 

Does anybody think I should use an architecure or it is ok use just the event structure?

 

 

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

This happens because you have the cluster control in one case and are handling value-change events in other cases; the cluster is only read in one case.  Move the cluster control outside the Event structure and remove the Shift Register.

 

cluster.png

 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 2 of 3
(2,719 Views)

thank you a lot, it works  Smiley Very Happy

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