Go to Post Perfection of a system comes not when you can add nothing more but instead when you can remove nothing. - Andrew Schreiber [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2013, 17:37
eat4fun's Avatar
eat4fun eat4fun is offline
sudoer
AKA: Eric Bryce
FRC #1325 (Inverse Paradox)
Team Role: Leadership
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Mississauga, Canada
Posts: 9
eat4fun is an unknown quantity at this point
No apparent signal sent from PWM 10 [LabVIEW/also slightly electrical]

Hello all,

I have a rather unusual problem with our robot’s control system.

When trying to run code to test our shooter, I noticed that many indicator LEDs on our Victor 888s (which we use exclusively) were blinking. After fiddling with them for a while, I decided it was probably a programming issue, so I hacked together some really ugly code that just opens 10 motors and assigns a value of 0 to each of them.

After some more fiddling with the PWM cables, only one was not going solid. I decided that it could possibly be a problem with the cable, so I swapped it out with a new PWM cable – no dice. I then thought that it might be a bent pin on the digital sidecar which wasn’t conducting, so I swapped the cables in PWM 9 & PWM 10. The Victor who’s indicator was blinking was then solid, and the one that was solid was blinking. It seems to be, therefore, a problem with PWM 10.

Thinking that it might be a problem with the digital sidecar instead, I swapped it out for another (older) sidecar. This time, the light was solid when connected to all but PWM 10. I assume it is rather unlikely that only PWM 10 be U/S on two sidecars.

Link to an image of the hacked-together code.

Does anybody have any advice on what to do here?

Thanks,
Eric Bryce
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2013, 18:31
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,587
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: No apparent signal sent from PWM 10 [LabVIEW/also slightly electrical]

Try swapping your 37-pin ribbon cable with a new or different one. You might have a bad pin or wire on the cable.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2013, 19:03
eat4fun's Avatar
eat4fun eat4fun is offline
sudoer
AKA: Eric Bryce
FRC #1325 (Inverse Paradox)
Team Role: Leadership
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Mississauga, Canada
Posts: 9
eat4fun is an unknown quantity at this point
Re: No apparent signal sent from PWM 10 [LabVIEW/also slightly electrical]

Quote:
Originally Posted by Kevin Sevcik View Post
Try swapping your 37-pin ribbon cable with a new or different one. You might have a bad pin or wire on the cable.
When I first observed the problem we were using a ribbon cable like that which comes in the latest KoPs, I swapped it out for a serial cable like that which came in the older kits of parts to no avail.

EDIT: the digital module seems to be the culprit. It has been swapped-out and now works.

Last edited by eat4fun : 15-02-2013 at 23:43.
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 08:56.

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