Go to Post For me, FIRST is inspiration with a positive feedback loop - it just keeps getting better. I wonder where it will go from here... - petek [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 17-02-2009, 19:05
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Big problem

Our victors and spikes dont run when we run our code. the light also keeps blinking. we have tried re-imaging the cRIO multiple times and sometimes it works after we reimage but then stops the next time we want to run the code. Does anyone know why this is happening.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2009, 20:10
Jim E Jim E is offline
Registered User
FRC #1523 (M.A.R.S.)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Lantana, FL
Posts: 188
Jim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond repute
Re: Big problem

It sounds like you need to deploy your code upon start-up. Go to the NI and FIRST forum websites where it is discussed. You are running your code in memory. That means you need to download each time the cRio is powered up.
__________________
Team MARS = 1.523 AU from the SUN!

Jim E.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2009, 20:34
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Big problem

We do deploy the code every time we start up. We have not saved it to the cRIO yet. When i deploy the code i can see the voltage feedback of the pot but nothing else works
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2009, 22:15
Jim E Jim E is offline
Registered User
FRC #1523 (M.A.R.S.)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Lantana, FL
Posts: 188
Jim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond repute
Re: Big problem

I think you are a little confused. There are differences between "deploying code to run on start-up"and deploying code every time you start the cRio. Learn how to do both.

As far as the problem you have, have you performed all of the mandatory updates to the cRio image? There was a Labview update about 2 weeks ago that requires anew cRio image.
__________________
Team MARS = 1.523 AU from the SUN!

Jim E.
Reply With Quote
  #5   Spotlight this post!  
Unread 18-02-2009, 13:08
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Big problem

We have all the updates and have re-imaged the cRIO. It worked before on and off but now it doesn't work at all. Could it be our sidecar is bad?
Reply With Quote
  #6   Spotlight this post!  
Unread 18-02-2009, 13:12
JesseK's Avatar
JesseK JesseK is online now
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,700
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Big problem

Quote:
Our victors and spikes dont run when we run our code. the light also keeps blinking.
Check your digital sidecar connections. If you look in the manual for Victors, you'll find that blinking lights mean no PWM signal. This is independent of whatever code you do. If I remember correctly from our benchtop test over Thanksgiving Break, so long as the digital sidecar is powered, these lights should stop blinking.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
Reply With Quote
  #7   Spotlight this post!  
Unread 18-02-2009, 13:13
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Big problem

What light is blinking and at what rate?

What does your driver station say on it next to Status and Battery?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #8   Spotlight this post!  
Unread 18-02-2009, 13:59
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Big problem

The drivers station says no code and the Victors are blinking like they aren't getting a signal from the PWM's.
Reply With Quote
  #9   Spotlight this post!  
Unread 18-02-2009, 14:01
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Big problem

It would appear that you have either no code or faulty code on your cRIO then.

Have you tried loading code since the last time you re-imaged or is the default image code on the robot?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #10   Spotlight this post!  
Unread 18-02-2009, 14:21
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Big problem

We have reloaded the code. We always deploy the code from the computer because we have not saved it to the cRIO. Our code has run before and we have not changed it.
Reply With Quote
  #11   Spotlight this post!  
Unread 18-02-2009, 14:57
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Big problem

If the Driver's Station says "No Code" then the cRIO does not have working code running on it.

If you are running the code using the white arrow in Labview the computer must remain connected to the cRIO for the code to continue to run.

If after your code finishes downloading, the Driver's Station still says "No Code" I would try reimaging your cRIO and verifying that the Driver's Station connects properly to the cRIO with the default code.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #12   Spotlight this post!  
Unread 18-02-2009, 15:19
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Big problem

But the driver station says no code but i can still read the feedback of the pot
Reply With Quote
  #13   Spotlight this post!  
Unread 18-02-2009, 15:21
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: Big problem

Quote:
Originally Posted by kgzak View Post
When i deploy the code i can see the voltage feedback of the pot but nothing else works
Where can you see this feedback?

Quote:
Originally Posted by kgzak View Post
The drivers station says no code and the Victors are blinking like they aren't getting a signal from the PWM's.
If it says No code, it's a pretty clear sign that your main code is not running. Again, where do you see the voltage feedback?

Quote:
Originally Posted by kgzak View Post
We have reloaded the code. We always deploy the code from the computer because we have not saved it to the cRIO. Our code has run before and we have not changed it.
Is this LabVIEW code or C++? If LabVIEW, how are you running it? You need to run the Basic Main VI in order for things to start properly. Make sure you aren't trying to run just the Autonomous Independent VI, for example.
Reply With Quote
  #14   Spotlight this post!  
Unread 18-02-2009, 15:48
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Big problem

I am using LabView and i made a icon on the Front Panel where i can see the voltage. I know it is working because it changes. I am running the Robot Basic but i don't think there is a problem with the code since we have ran the same code before (I could be Wrong).
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Big problem! Need your help Tack610 Technical Discussion 12 04-02-2009 11:02
Big Problem w/new CMUcam! Darkelement Programming 4 30-01-2006 14:03
BIG Problem, please help me!! Srkasner FIRST Tech Challenge 2 11-01-2006 12:45
Big Big Problem Ronald_raygun Fundraising 23 04-10-2005 01:03
BIG Problem: Snowed In Joshua May General Forum 1 07-01-2005 16:52


All times are GMT -5. The time now is 16:41.

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