|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hey you guys this is tomy,
on valentines my team and i were working on programing we are meeting again on monday the day before shipment. is there anyone out there who can explain how to set up a spike in labview and were they get all of the components because i have looked at other threads and they make no sense i really really need help before i go insane. i just need a simple explanation on how to program in labview a spike and where you get the boxes with the yellow tops on them and how to hook everything up. i am a new programmer on a new team...i need help before i start throwing things... p.s. if i still do not get this come time to competition i really hope there will be a nice team out there to come to my booth (team #3038) and help me please... |
|
#2
|
||||
|
||||
|
Re: I need lots of help...please help
http://www.lvmastery.com/tipjar
If you've got a few hours, I'd recommend watching the videos above. I think you can find the Spikes in the WPI Robotics Library under "relays". You'll excuse me if I'm mistaken, I don't have LabView on this PC here at home. Either way, it's in the Robotics Library somewhere. Make sure you get the Open and the Close, and set the right channel for the spike in the code. If you're going to be in Pittsburgh by any chance, we'd be happy to stop by. |
|
#3
|
|||
|
|||
|
Re: I need lots of help...please help
i do not suppose anyone has pictures that would make it a lot eaiser
|
|
#4
|
|||
|
|||
|
Re: I need lots of help...please help
smcmahon is suggesting a video!
Even better than still pictures! And with a live (ok, recorded) narrator! |
|
#5
|
||||
|
||||
|
Re: I need lots of help...please help
To airnate you listen. Video is worth 1000 pictures.
|
|
#6
|
|||
|
|||
|
Re: I need lots of help...please help
yes but that website doesn't have anything on how to program a relay (spike)
![]() |
|
#7
|
||||
|
||||
|
Re: I need lots of help...please help
Okay, right click in labview. GO down to where it says "WPI robotics library" then go to actuators. Then go to Relay. That's how you control spikes. Pic attached should help.
Last edited by paulcd2000 : 02-15-2009 at 12:32 PM. Reason: wrong picture |
|
#8
|
|||
|
|||
|
Re: I need lots of help...please help
i know about that part can you please tell me the whole thing in one post step by step please. you can show it through using a joystick or by using the buttons
|
|
#9
|
||||
|
||||
|
Re: I need lots of help...please help
1. Open a relay.
2. Right click on the input that says Relay Channel, and go to where it says create. Then click constant. 3. Select the port for the relay in that constant 4. wire the Relay Dev Ref to a Set Relay block inside teleop (or autonomous, or somewhere else). 5. right click on the Set Relay block and create a constant where it says Relay Value (Same way as in step 2) 4. Select a direction for the relay. Last edited by paulcd2000 : 02-15-2009 at 01:55 PM. |
|
#10
|
|||
|
|||
|
Re: I need lots of help...please help
okay now how do i set that up to use a joystick to control it or a joystick button
|
|
#11
|
||||
|
||||
|
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. Last edited by paulcd2000 : 02-15-2009 at 05:46 PM. Reason: Adding pics |
|
#12
|
|||
|
|||
|
Re: I need lots of help...please help
k that works for me but were to you get the "get buttons" blues box...?
|
|
#13
|
|||
|
|||
|
Re: I need lots of help...please help
From the joystick pallate, I believe. Unless you mean the constants, and then you right click on the node and choose "Create Constant".
|
|
#14
|
|||
|
|||
|
Re: I need lots of help...please help
okay thanks if i need more help i will let you know
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PLEASE HELP!! Need help programming arm?? | amirjpl | Programming | 12 | 03-15-2007 03:11 PM |
| I need lots of help :ahh: | germansamurai16 | 3D Animation and Competition | 1 | 01-25-2007 11:21 PM |
| hey need some help with writing a code please help me here | magical hands | Programming | 9 | 01-01-2004 09:46 PM |