LabView Control Configuration Help - 7311

I am still a relatively new programer as this is my second year. I am having a few issues with how to setup controls in LabView. Our robot has two redline motors that we use as shooting and I’d like to use the logitech flight controller joystick main y axis to control speeds and also have button zero run the motors at 100%. I have been looking around online but I can’t find a way to do this.

Thank You,
Brady P,
Team 7311

Sorry for my messy code. I added a lot of comments to make it easy to understand. Let me know if you have any questions.

You will normally open the references (top 4 functions of the posted VI) in Begin.vim and the rest would live in

Consider using a Select function or Case Structure to distinguish from the Y axis and the button. These nodes should allow you to send the correct value depending on the conditions that arrive from the joystick.