|
Re: Labview issues
You should start by looking though the LabVIEW FRC examples. They are extremely helpful, and easy to read through. To answer your question, what you need to do is open up your teleop block diagram VI and inside, there should be a joystick already opened. Right click on any white space, go to programming and look for "unbundle by name" in the cluster palette. Finally just wire the "button" node from the joystick to the input of the "unbundle by name". Once you've done this you will be able to see all the buttons available to you. If you want to control a motor with it just call the motor inside of a case structure and make any button the Boolean input to the case structure. Good luck with your season!
__________________
Bryant Humud-Arboleda
Stevens Institute of Technology
B.A - Electrical Engineering 14'
Mentor - FRC 714 (2012-Present)
Student - FRC 714 (2009-2010)
2013 Bridgewater-Raritan Winners (Thanks 1676 & 3314)
2012 MAR Regional Championship Judges Award
2012 Mount Olive District Excellence in Engineering Award
2012 Chesapeake Regional Finalist (Thanks 2068 & 358)
2012 Hatsboro-Horsham District Gracious Professionalism Award
Last edited by bhumudar : 28-01-2013 at 17:32.
|