Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   I need lots of help...please help (http://www.chiefdelphi.com/forums/showthread.php?t=74501)

tomy 14-02-2009 20:55

I need lots of help...please help
 
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...

smcmahon 14-02-2009 22:31

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.

tomy 14-02-2009 22:57

Re: I need lots of help...please help
 
i do not suppose anyone has pictures that would make it a lot eaiser

airnate 14-02-2009 23:24

Re: I need lots of help...please help
 
smcmahon is suggesting a video! :yikes: Even better than still pictures! And with a live (ok, recorded) narrator!

smcmahon 15-02-2009 00:03

Re: I need lots of help...please help
 
To airnate you listen. Video is worth 1000 pictures.

tomy 15-02-2009 11:02

Re: I need lots of help...please help
 
yes but that website doesn't have anything on how to program a relay (spike):mad:

paulcd2000 15-02-2009 12:26

Re: I need lots of help...please help
 
1 Attachment(s)
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.

tomy 15-02-2009 13:39

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

paulcd2000 15-02-2009 13:52

Re: I need lots of help...please help
 
1 Attachment(s)
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.

tomy 15-02-2009 16:07

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

paulcd2000 15-02-2009 17:40

Re: I need lots of help...please help
 
2 Attachment(s)
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.

tomy 15-02-2009 19:19

Re: I need lots of help...please help
 
k that works for me but were to you get the "get buttons" blues box...?

Pausert 15-02-2009 19:33

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".

tomy 15-02-2009 21:10

Re: I need lots of help...please help
 
okay thanks if i need more help i will let you know


All times are GMT -5. The time now is 15:12.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi