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

Switch until Released Buttons are not reset to 0 after release

$
0
0

I am quite new to LabView and I have the following problem. I am using User Buttons Cluster which contains 3 Buttons: Accept, Jump, Repeat in "switch until released" action. Inside a case structure(True/False) I treat event Value Change for each button(treatment is different for True and False Cases). I have put the control User Buttons just outside of the case structure. Now when I click on the button the value changes from 0 to 1, the event executes but then the button is not reset to 0 value when released and it is not responding anymore on the next cycle of the state machine while loop. Here is the picture of the code under question as well as the code itself. What can I do to fix it?


I thought about changing buttons to latch when pressed and putting something inside the event cases to force LV to read the button value but I could not find anything that would allow me to force LV to read the value of the button(i can't use the button itself as it is a cluster+i need it in both True/False Cases). Maybe somebody has an ides how to do it?...
image.png


Viewing all articles
Browse latest Browse all 67249

Trending Articles



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