Flywheel Program

I need to find a way to make a joystick button code for the flywheel in LabVIEW. There is no subVI for a button code, so is there something similar?

The buttons are accessible via an array from the Joystick Read just like the axes.

I might also add that there are some examples of using a button to toggle an output (like a motor) at the bottom of this article:

https://www.frclabviewtutorials.com/tutorials/memory-library/

You might also want to read:


There’s a good chapter about state machines, and it also explains how to achieve toggle buttons.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.