View Single Post
  #2   Spotlight this post!  
Unread 02-03-2010, 14:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Joystick Read modification to breakout joystick buttons

  1. The buttons first need to appear on the Joystick Read.vi front panel by using Create -> Indicator for each button you want.
  2. Then, in the Joystick Read.vi front panel right-click on the icon in the top right and choose "Show Connector"
  3. There will be several colored boxes and many more white boxes. These are called terminals.
  4. Left-click on one of the available white terminal boxes, then left-click on the button in the front panel that you want to come out of that terminal.
  5. If you make a mistake you can right-click on a terminal and choose "Disconnect This Terminal" to start over.
  6. Save when you're done.
  7. You should now see a new terminal on Joystick Read in Teleop.vi
  8. Sometimes, if the changes are major wherever it's used it will be grayed out. If that happens you'll need to right-click on it's icon in Teleop.vi and choose "Relink To SubVI". A major change would be changing the connector terminal pattern, not just adding buttons to the existing pattern.
P.S. If you don't have enough terminals you can right-click on the connector icon and choose Patterns to see a lot more choices.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-03-2010 at 14:53.
Reply With Quote