Go to Post Teams whose goal is to play on Einstein think about strategy differently from teams whose goal is to be selected for an alliance at a district event. - alopex_rex [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2012, 20:12
Dragonbots's Avatar
Dragonbots Dragonbots is offline
MariaY
AKA: Maria Yepremian
FRC #4046 (Schrodinger's Dragons)
Team Role: Leadership
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Los Angeles
Posts: 19
Dragonbots is on a distinguished road
Sidecar pwm ports 5 and up aren't responding

I really need help on this, im using labview to program our robot
Apparently when i download the code to contol the motors that are connected to PMW ports 5 and 6, they dont respond. When in the driver station, it gives me the error of it being invalid, i dont know how to fix this problem, any help and or advice will be really appreciated.
  #2   Spotlight this post!  
Unread 15-02-2012, 20:14
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Re: Sidecar pwm ports 5 and up aren't responding

mind sharing a snippet of your begin.vi and teleop.vi?
  #3   Spotlight this post!  
Unread 15-02-2012, 20:23
Dragonbots's Avatar
Dragonbots Dragonbots is offline
MariaY
AKA: Maria Yepremian
FRC #4046 (Schrodinger's Dragons)
Team Role: Leadership
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Los Angeles
Posts: 19
Dragonbots is on a distinguished road
Re: Sidecar pwm ports 5 and up aren't responding

sorry but the laptop i program with isn't this one
  #4   Spotlight this post!  
Unread 15-02-2012, 20:27
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,789
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Sidecar pwm ports 5 and up aren't responding

Try taking a screenshot (or a photo of the screen that shows the blocks and connections clearly), and transferring that to the computer you're posting on.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #5   Spotlight this post!  
Unread 15-02-2012, 20:28
Dragonbots's Avatar
Dragonbots Dragonbots is offline
MariaY
AKA: Maria Yepremian
FRC #4046 (Schrodinger's Dragons)
Team Role: Leadership
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Los Angeles
Posts: 19
Dragonbots is on a distinguished road
Re: Sidecar pwm ports 5 and up aren't responding

Although, i used the defualt robot main vi. given in labview and insted of PWM 1 and 2 to be use to move the motors, i switched to 5 and 6 and it wouldnt respond, its the default code with nothing changed.
  #6   Spotlight this post!  
Unread 15-02-2012, 20:46
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Re: Sidecar pwm ports 5 and up aren't responding

What wire are you using for the connection from cRIO - DSC? (if it is the ribbon, make sure it is properly assembled, or try a cable you know works).

Also, do the victors/jaguars have a solid light? or flashing? or any?

Are the 3 lights on the DSC lit green too?

And is the module in the proper slot of the cRIO (can open Imaging Tool and make sure the one labled 9403 is green).
  #7   Spotlight this post!  
Unread 15-02-2012, 20:59
Michael Corsetto's Avatar
Michael Corsetto Michael Corsetto is offline
Breathe in... Breathe out...
FRC #1678 (Citrus Circuits)
Team Role: Mentor
 
Join Date: May 2004
Rookie Year: 2002
Location: Davis, CA
Posts: 1,130
Michael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond repute
Re: Sidecar pwm ports 5 and up aren't responding

Quote:
Originally Posted by DavisC View Post
Are the 3 lights on the DSC lit green too?
We had a similar problem with "higher up" pwm ports (5 and higher) weren't responding. The problem was from lack of 12 volt power to the DSC. Check to make sure it's getting 12 volt power from the PDB to the DSC. Then all three lights should light up and the DSC should function properly. At least this is what fixed the problem for us. (Just fyi, without 12 volt power, only the middle light on the DSC lights up.)

-Mike
__________________
Team 1678: Citrus Circuits - Lead Technical Mentor, Drive Coach **Like Us On Facebook!**
  #8   Spotlight this post!  
Unread 15-02-2012, 21:32
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,789
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Sidecar pwm ports 5 and up aren't responding

Quote:
Originally Posted by DavisC View Post
What wire are you using for the connection from cRIO - DSC? (if it is the ribbon, make sure it is properly assembled, or try a cable you know works).

[snip]
And is the module in the proper slot of the cRIO (can open Imaging Tool and make sure the one labled 9403 is green).
I can attest that they're using a KOP cable, reassembled per the instructions, and the last time I checked, their cRIO modules were in the right places.

They've also been able to run on port 1.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #9   Spotlight this post!  
Unread 16-02-2012, 18:35
Dragonbots's Avatar
Dragonbots Dragonbots is offline
MariaY
AKA: Maria Yepremian
FRC #4046 (Schrodinger's Dragons)
Team Role: Leadership
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Los Angeles
Posts: 19
Dragonbots is on a distinguished road
Re: Sidecar pwm ports 5 and up aren't responding

also, when i do download the code to run ports 5 and 6, it gives error code
-44061 and that the code is running too slow. any help on how to fix this.
  #10   Spotlight this post!  
Unread 16-02-2012, 19:01
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,789
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Sidecar pwm ports 5 and up aren't responding

Light status: all green on DSC; Jags 1-4 good.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #11   Spotlight this post!  
Unread 16-02-2012, 19:29
Dragonbots's Avatar
Dragonbots Dragonbots is offline
MariaY
AKA: Maria Yepremian
FRC #4046 (Schrodinger's Dragons)
Team Role: Leadership
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Los Angeles
Posts: 19
Dragonbots is on a distinguished road
Re: Sidecar pwm ports 5 and up aren't responding

Yes, thats our status so far, i did disabled our safety config VI's and i dot get the error any longer, but the motors still dont respond
  #12   Spotlight this post!  
Unread 16-02-2012, 20:20
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Re: Sidecar pwm ports 5 and up aren't responding

when you enable the DS, do the Jaguar/Victor lights turn solid (if not, try rotating the PWM wire around, if still does not work then the code isn't properly getting to the Motor Controllers).
  #13   Spotlight this post!  
Unread 16-02-2012, 20:29
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Sidecar pwm ports 5 and up aren't responding

http://www.chiefdelphi.com/forums/sh...72&postcount=3
http://www.chiefdelphi.com/forums/sh...49&postcount=2
http://www.chiefdelphi.com/forums/sh...29&postcount=3
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #14   Spotlight this post!  
Unread 16-02-2012, 20:43
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,789
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Sidecar pwm ports 5 and up aren't responding

Quote:
Originally Posted by DavisC View Post
when you enable the DS, do the Jaguar/Victor lights turn solid (if not, try rotating the PWM wire around, if still does not work then the code isn't properly getting to the Motor Controllers).
I think we've established that it probably isn't electrical. I got them on the flipped PWM a couple weeks back, when we were trying to get a motor running from PWM 1. They should remember that one...

It's something in code, I'm reasonably certain--but in that case, why isn't anything showing up on anything higher than Port 4 on the Sidecar?

In other words: PWM 1, working. PWM 2, working. PWM 3, working. PWM 4, working. PWM 5 or higher, not working. Using the default code and switching say PWM 1 to PWM 5 doesn't help (though where the switch was made, I don't know).
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #15   Spotlight this post!  
Unread 16-02-2012, 21:07
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Re: Sidecar pwm ports 5 and up aren't responding

I would attempt changing only the PWM back to 1 in the code (and the DSC). And if it works then I guess you have a broken DSC; but if it does not work then it leaves the potential for something else to be the problem (including the rest of the code).
Closed Thread


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 00:53.

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