Go to Post I know my posts are sometimes exhausting but there are PICTURES in this one, if that helps at all. - Jaine Perotti [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 01-02-2012, 16:49
jwatson12 jwatson12 is offline
Mr. Watson
FRC #1025 (Impi Warriors)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Michigan
Posts: 17
jwatson12 is an unknown quantity at this point
Victors not working

Hi all. We are using default robot code with 2012 Labview image. Jaguars work fine on the kitbot with two motors. When we change to Victors and alter the code in Begin.vi on the Open2Motor control to use Victors, build, deploy and set as startup. We are not able to run the motors. All we did was change the motor type and deploy. We also checked the PWM's to make sure the are seated correctly. This doesnt make sense. PLEASE HELP! What could be happening?
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2012, 18:52
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Victors not working

If you can plug the PWM cable into a jag and the jag light goes solid, then the same must happen with a Victor.
If is not, then the PWM connection to the Victor is the likely culprit (no matter how well you think you seated them).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2012, 22:36
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,189
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Victors not working

Quote:
Originally Posted by Mark McLeod View Post
If you can plug the PWM cable into a jag and the jag light goes solid, then the same must happen with a Victor.
If is not, then the PWM connection to the Victor is the likely culprit (no matter how well you think you seated them).
Agreed, victors are notorious for having uncooperative connectors.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2012, 22:41
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Victors not working

It's not even necessary to change the controller type. If you really want to, you could hot-swap the Jag for the IFI Victor.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2012, 09:29
jwatson12 jwatson12 is offline
Mr. Watson
FRC #1025 (Impi Warriors)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Michigan
Posts: 17
jwatson12 is an unknown quantity at this point
Re: Victors not working

We did hot swap at first but one victor would spin on its own without responding to joystick. The other motor would respond form idle state but only spin in one direction. PWM's were checked out. We think they are seated correctly. What else might this be? This is so strange.
Reply With Quote
  #6   Spotlight this post!  
Unread 02-02-2012, 11:23
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,113
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: Victors not working

Quote:
Originally Posted by jwatson12 View Post
We did hot swap at first but one victor would spin on its own without responding to joystick. The other motor would respond form idle state but only spin in one direction. PWM's were checked out. We think they are seated correctly. What else might this be? This is so strange.
If a Victor runs by itself, or if it only runs in one direction, it's probably broken. A knowledgeable technician can replace a faulty FET and fix the most common failures.
Reply With Quote
  #7   Spotlight this post!  
Unread 05-02-2012, 17:02
jwatson12 jwatson12 is offline
Mr. Watson
FRC #1025 (Impi Warriors)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Michigan
Posts: 17
jwatson12 is an unknown quantity at this point
Re: Victors not working

Thanks all for your responses. We were able to get our button assignments and motor drive systems funcitonal via joysitcks; all with Jaguars. We then proceeded to go back through all of our old victors from prior years to see which ones were good. To do this ,we changed our open2motor object in begin.vi to use victors instead of Jaguars. When we testd, no response was realized. No motors moved. we know our code is correct with Jaguars. The question (again) is why no victors using a victor designation?

Next, we changed back to Jaguars on Open2Motor in begin.vi. Out of al five victors tested, NONE, were responsive like the the jaguars. They either turned in one direction, hummmed or turned on their own. We even made sure the pwms were seated correctly and even recalibrated. The only other suggestion I found was to jumper the PWM on the sidecar to change from 5 to 6 volts. I have not done this yet.

Can anyone tell me why victors do not run when assigning victors in the code? I have a hard time believing all my victors are bad. We coded in C last year and had no problems.

Thanks again. Just tryiong to save some money
Reply With Quote
  #8   Spotlight this post!  
Unread 05-02-2012, 18:14
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Victors not working

Quote:
Originally Posted by DominickC View Post
It's not even necessary to change the controller type. If you really want to, you could hot-swap the Jag for the IFI Victor.
Incorrect. They both use similar enough PWM signalling that it may appear to work, but they are scaled differently.

If you give a factory default Jaguar a signal intended for a Victor, it will never output full power - What Victor thinks is full forward, Jaguar thinks is medium forward.

If you give a factory default Victor a signal intended for a Jaguar, it will quickly slam to full power for signals that were meant to be medium power.
Reply With Quote
  #9   Spotlight this post!  
Unread 05-02-2012, 18:59
jwatson12 jwatson12 is offline
Mr. Watson
FRC #1025 (Impi Warriors)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Michigan
Posts: 17
jwatson12 is an unknown quantity at this point
Re: Victors not working

Thank you. We never tried using Jaguars with Victor setting. But, this explains why the victors might be so sporadic with Jaguar setting. However, still not getting activity with Victors when assigning Victor. What could this be? Is there another alternative? I'm getting ready to call NI directly.
Reply With Quote
  #10   Spotlight this post!  
Unread 05-02-2012, 19:05
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,113
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: Victors not working

Quote:
Originally Posted by jwatson12 View Post
However, still not getting activity with Victors when assigning Victor.
Correctly plugging a PWM cable into a Victor is maddeningly difficult to do, and nearly impossible to tell when you've failed without trying to control it. It sometimes seems to me that consistently getting it right takes years of experience and practice.
Reply With Quote
  #11   Spotlight this post!  
Unread 06-02-2012, 19:32
jwatson12 jwatson12 is offline
Mr. Watson
FRC #1025 (Impi Warriors)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Michigan
Posts: 17
jwatson12 is an unknown quantity at this point
Re: Victors not working

PWM not the issue. Called NI support, they also suggested PWM and to re-calibrate the victors. They also said they tested everything against the cRio. Question now is - which crio? We have the older five bay and recently had it fixed. Could be the crio. But Jaguars work just fine!
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 22:30.

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