View Single Post
  #2   Spotlight this post!  
Unread 22-01-2009, 17:46
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Labview toggle switch

Quote:
Originally Posted by GunfighterJ View Post
is there anyway to take a joystick button and run it through a vi where it will do one function. Then go through some switch and do another function?
The short answer is yes.

I'm not sure there is one specific VI that does what you want, but it would certainly be possible. If I'm understanding you correctly you want a button that when pressed switches from doing one thing to another and doesn't change until the button is pressed again. If that is what you mean then you could check out the VI attached as an example of one way to do this. There is documentation of what I did on the block diagram in the VI.

- Austin
Attached Files
File Type: vi Basic Robot Main.vi (94.0 KB, 1088 views)
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award
Reply With Quote