Go to Post Didn't you hear? After Atlanta, they aren't having nationals anymore. - Joe Ross [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 09-02-2014, 12:29
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by Joe Ross View Post
Getting a PWM cable in the Victor is very difficult and takes the right touch. I suspect that you aren't actually getting it installed fully.
2nd, 3rd and 4th this.

Even when you inspect the pins on the PWM cables, they may look "straight," but chances are all 3 will be VERY slightly deflected forward or backward. If they are, the next time you plug them in, you're likely to "miss" the connector inside the Victor again. The first thing you need to do is check that all your PWM connector pins are perfectly straight.

If I could teach the "super-straight near-zero insertion force Victor PWM cable connector wiggle technique" through a Chief Delphi post, I'd probably save young FRC teams hundreds of hours of lost troubleshooting time.

The problem is, I could explain it all I want, and even film it in detail. It'll just look like any regular person haphazardly plugging a PWM connector into Victor, when really there is a lot more going on there.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...

Last edited by Mr. Lim : 09-02-2014 at 12:33.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2014, 14:35
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: First Programming - Victor/PWM help

Here are some pictures. One is of all our PWMs that were connected to the Victors. As far as I can tell it doesn't seem like they're bent. The second one showing how far the PWM is going into the slot on the Victor.

Do these look incorrect?

I'm going to attempt to describe plugging them in, it feels like the pushing the cable goes through two stages. The first is actually finding the holes so you wiggle it a little until you feel that the pins are fitting into their holes. The second is pushing them in further into the holes and there is a little more resistance when pushing them in and it feels like they're getting more secured.
Attached Thumbnails
Click image for larger version

Name:	IMAG0868[1].jpg
Views:	8
Size:	773.5 KB
ID:	16184  Click image for larger version

Name:	IMAG0867[1].jpg
Views:	11
Size:	805.0 KB
ID:	16185  
__________________
I am an employee of FIRST. However, the postings on this site are of my own perspective as a FIRST mentor and volunteer and do not necessarily reflect the views of FIRST.

FIRST Team 5125 Hawks on the Horizon Lead Mentor
FRC Team 4096 Ctrl-Z Former Mentor
FTC Team 5203 #19@! Former Mentor
FRC Team 1403 Cougar Robotics Alumni
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2014, 15:03
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by popnbrown View Post
Here are some pictures....

What checks have you done to determine that you are actually delivering a signal to the Victor end of your PWM cable?


Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2014, 15:11
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by Ether View Post
What checks have you done to determine that you are actually delivering a signal to the Victor end of your PWM cable?
We've gone through code to ensure we've got the correct PWM Channels being assigned, however we can't probe any of the WPI Libraries deeper (it just won't let us).

As far as hardware, ensure that the Victor and Digital Sidecar are getting power. It's difficult to use a multimeter and see what the readings of the actual PWM cables are but we've tried and it seems as though it's not putting out any power (signal) through the cables.


Other debugging steps have included trying different PWM Channels and PWM Cables, we have yet to try different Victors, but it doesn't seem like a Victor issue.

-Sravan
__________________
I am an employee of FIRST. However, the postings on this site are of my own perspective as a FIRST mentor and volunteer and do not necessarily reflect the views of FIRST.

FIRST Team 5125 Hawks on the Horizon Lead Mentor
FRC Team 4096 Ctrl-Z Former Mentor
FTC Team 5203 #19@! Former Mentor
FRC Team 1403 Cougar Robotics Alumni
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2014, 15:13
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by popnbrown View Post
...
Do you have access to an oscilloscope?


Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2014, 15:32
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: First Programming - Victor/PWM help

Unfortunately, no.

I just checked with the multimeter again and just poked around (literally) in different ports on the Digital Sidecar. There's 6V from the V+ to the black on the PWM out ports. 0V between Sig and (-). 0v between Pwr and (-). On the Digital IO, however, 5V between Pwr and (-).

Any suggestions Ether in troubleshooting without an oscilloscope?
__________________
I am an employee of FIRST. However, the postings on this site are of my own perspective as a FIRST mentor and volunteer and do not necessarily reflect the views of FIRST.

FIRST Team 5125 Hawks on the Horizon Lead Mentor
FRC Team 4096 Ctrl-Z Former Mentor
FTC Team 5203 #19@! Former Mentor
FRC Team 1403 Cougar Robotics Alumni
Reply With Quote
  #7   Spotlight this post!  
Unread 09-02-2014, 15:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by popnbrown View Post
Any suggestions Ether in troubleshooting without an oscilloscope?
Do you have a known good Talon or Jaguar?

Give it some 12V power and plug your PWM cable into it. See what the LED does.


Reply With Quote
  #8   Spotlight this post!  
Unread 09-02-2014, 15:39
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by popnbrown View Post
0V between Sig and (-).
When you are issuing a "full throttle" (forward) PWM command, you should have a duty cycle of approx 20% (2ms pulse divided by 10ms period). So your multimeter should read roughly 1 volt across the white (SIG) and black (return) PWM wires. Use the DC setting and observe proper polarity.



Last edited by Ether : 09-02-2014 at 15:42.
Reply With Quote
  #9   Spotlight this post!  
Unread 09-02-2014, 15:54
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by Ether View Post
When you are issuing a "full throttle" (forward) PWM command, you should have a duty cycle of approx 20% (2ms pulse divided by 10ms period). So your multimeter should read roughly 1 volt across the white (SIG) and black (return) PWM wires. Use the DC setting and observe proper polarity.


Yup...I removed all the PWMs and checked them, it's giving a 0.75 volt reading in neutral. So it's working correctly.
__________________
I am an employee of FIRST. However, the postings on this site are of my own perspective as a FIRST mentor and volunteer and do not necessarily reflect the views of FIRST.

FIRST Team 5125 Hawks on the Horizon Lead Mentor
FRC Team 4096 Ctrl-Z Former Mentor
FTC Team 5203 #19@! Former Mentor
FRC Team 1403 Cougar Robotics Alumni
Reply With Quote
  #10   Spotlight this post!  
Unread 09-02-2014, 14:50
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by Mr. Lim View Post
If I could teach the "super-straight near-zero insertion force Victor PWM cable connector wiggle technique" through a Chief Delphi post, I'd probably save young FRC teams hundreds of hours of lost troubleshooting time.
Indeed. But if that can't happen, how about we try to spread the word about effective troubleshooting technique?

Is there a step-by-step flow-diagram troubleshooting technique posted somewhere for this particular problem that we could link to whenever this question pops up on CD?


Reply With Quote
  #11   Spotlight this post!  
Unread 09-02-2014, 15:53
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: First Programming - Victor/PWM help

Quote:
Originally Posted by Mr. Lim View Post
the "super-straight near-zero insertion force Victor PWM cable connector wiggle technique"
Sorry for wasting all of your time. Turns out after we had it semi-working our first solution was to pull out the cables and we reversed them and didn't put them onto the sidecar the correct way.

So I switched them out and with the robot enabled, I put in the wires into the victor myself, and it's good to go.


Sooooooooooooooooooooo...yeah.....woops.

Thanks for your help, in pretending my insanity was sanity.
__________________
I am an employee of FIRST. However, the postings on this site are of my own perspective as a FIRST mentor and volunteer and do not necessarily reflect the views of FIRST.

FIRST Team 5125 Hawks on the Horizon Lead Mentor
FRC Team 4096 Ctrl-Z Former Mentor
FTC Team 5203 #19@! Former Mentor
FRC Team 1403 Cougar Robotics Alumni
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 09:55.

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