Go to Post Brandon, it's not an issue... but the fortune cookie thing that you get when you give someone rep is a little creepy... - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 01-02-2012, 17:26
Arrex's Avatar
Arrex Arrex is offline
Registered User
FRC #4296
 
Join Date: Jan 2012
Location: United States
Posts: 10
Arrex is an unknown quantity at this point
Re: Vex Spike Motor Control

I tried that, and it stopped pulsing completely. I tried setting it up through a joystick control, but it only resumed the short pulse when we enable it and still isn't working properly.

Spike Joystick Test.vi

Initially, the program used 1 and 0, but we changed it to the Relay controls with no difference in results.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2012, 23:32
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Vex Spike Motor Control

Quote:
Originally Posted by Arrex View Post
I tried that, and it stopped pulsing completely. I tried setting it up through a joystick control, but it only resumed the short pulse when we enable it and still isn't working properly.
The code looks reasonable. I should have asked this before: how is the motor connected? Where does every wire connected to the Spike go?
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2012, 10:01
Arrex's Avatar
Arrex Arrex is offline
Registered User
FRC #4296
 
Join Date: Jan 2012
Location: United States
Posts: 10
Arrex is an unknown quantity at this point
Re: Vex Spike Motor Control

Sorry it took a while, but here is the setup we had for the Spike when we used that program.

Click image for larger version

Name:	DSCF0690.JPG
Views:	54
Size:	783.3 KB
ID:	11694
Click image for larger version

Name:	DSCF0691.JPG
Views:	35
Size:	689.7 KB
ID:	11695
Click image for larger version

Name:	DSCF0692.JPG
Views:	52
Size:	760.3 KB
ID:	11696
Click image for larger version

Name:	DSCF0693.JPG
Views:	41
Size:	765.1 KB
ID:	11697
Click image for larger version

Name:	DSCF0694.JPG
Views:	21
Size:	633.0 KB
ID:	11698

Apparently another team member was able to get the Spike to run using an Arduino, but I'm not sure if that specific board was included in our parts.

Edit: We also tried using the sample program, and it still won't respond. Apparently the program and mechanical/electrical parts aren't working together.

Last edited by Arrex : 04-02-2012 at 11:17.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2012, 14:38
Arrex's Avatar
Arrex Arrex is offline
Registered User
FRC #4296
 
Join Date: Jan 2012
Location: United States
Posts: 10
Arrex is an unknown quantity at this point
Re: Vex Spike Motor Control

Turns out we had some faulty wiring on the sidecar. All fixed. Thanks for the help, though.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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