Thread: Labview issues
View Single Post
  #2   Spotlight this post!  
Unread 28-01-2013, 17:30
bhumudar's Avatar
bhumudar bhumudar is offline
Mentor/Programming/Electrical
AKA: Bryant Humud-Arboleda
FRC #0714 (Panthera)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2008
Location: Newark
Posts: 50
bhumudar is on a distinguished road
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.