FIRST Forums  

Go Back   FIRST Forums > General Discussions > FIRST Programs > FIRST Robotics Competition > Competition Discussion > Programming > LabView

Reply
 
Thread Tools
  #1  
Old 02-02-2011, 09:10 PM
futuredinos futuredinos is offline
Junior Member
 
Join Date: Jan 2011
Posts: 14
Default programming buttons

im a rookie and well i think i got the basics down for labview well atleast how to program the jaguars so my question is how to program the joystick buttons to move forward or backwards im sure this is possible but if its not well...please let me know haha thanks
Reply With Quote
  #2  
Old 02-08-2011, 05:09 AM
sultans2905 sultans2905 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 10
Default Re: programming buttons

Quote:
Originally Posted by futuredinos View Post
im a rookie and well i think i got the basics down for labview well atleast how to program the jaguars so my question is how to program the joystick buttons to move forward or backwards im sure this is possible but if its not well...please let me know haha thanks

First you should pick Case Structure from the Structures palette. Wire the button to the case selector (the thing with green question mark). When it is true power the motor (you can have a constant like 1 and wire it to Motor Set Output) and when it is false have constant of 0 and wire it to Motor Set Output. Make sure that constants are in the structure!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to make a decision about programming bruceba Think Tank 2 12-02-2010 04:24 PM


All times are GMT -4. The time now is 03:11 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.