|
Re: Joystick Read modification to breakout joystick buttons
- The buttons first need to appear on the Joystick Read.vi front panel by using Create -> Indicator for each button you want.
- Then, in the Joystick Read.vi front panel right-click on the icon in the top right and choose "Show Connector"
- There will be several colored boxes and many more white boxes. These are called terminals.
- 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.
- If you make a mistake you can right-click on a terminal and choose "Disconnect This Terminal" to start over.
- Save when you're done.
- You should now see a new terminal on Joystick Read in Teleop.vi
- 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.
|