|
Individual Button Presses
Hey, we are running a claw on the robot and want to make it so that pressing a button opens it, and then pressing it again closes it.
We have 2 limit switches to determine whether the claw is open or closed.
Our problem is that when we hold the button down, due to it being in a loop, it constantly switches between the "closing" state and the "opening state".
How can we make it so that LabVIEW reads each button press individually instead of checking it every loop iteration?
__________________
Integrity first
Service before self
Excellence in all we do
|