View Single Post
  #11   Spotlight this post!  
Unread 15-02-2009, 17:40
paulcd2000's Avatar
paulcd2000 paulcd2000 is offline
Accidentally speaks in C
AKA: Paul Dagnelie
FRC #1719 (The Umbrella Corp.)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Baltimore
Posts: 368
paulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the roughpaulcd2000 is a jewel in the rough
Send a message via AIM to paulcd2000
Re: I need lots of help...please help

For a button:
1. Open a Joystick (WPI Robotics Library ->RobotDrive ->Joystick-> Open.vi)
2. Create constant, select joystick port.
3. Where you want the Relay to run, place Joystick Get (Same place)
4. Right click next to it and make an Unbundle by Name (Programming-> Cluster, Class,...->Unbundle By Name).
5. Wire the unbundle by name into where it says Buttons in the Get.
6. Select which button you want.
7. Wire the Boolean output of the button into a case structure.
8. In the "True" Case, put the Set Relay and set it to move (whatever direction you choose).
9. In the "False" Case, put another Set relay and set it to off.
Attached Thumbnails
Click image for larger version

Name:	help 3.JPG
Views:	29
Size:	15.5 KB
ID:	7468  Click image for larger version

Name:	help 4.JPG
Views:	28
Size:	14.8 KB
ID:	7469  
__________________
"People don't say 'It's just a game' when their team is winning!" -- Scott Adams

5.5 students (on average)* $7/h *210 hours/student= $8085 of labor, all volunteered (not counting mentors', who are each that much)

We have blades on our robot?! ***sweeeeeet***

There are 11 types of people in the world. Those who can read binary, those who can't, and those who say this joke is supposed to be, "There are 10 types of people in the world. Those who can read binary and those who have a life."

Last edited by paulcd2000 : 15-02-2009 at 17:46. Reason: Adding pics
Reply With Quote