Go to Post FRC: so inspiring, even car thieves can't handle it. - evanperryg [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 05-02-2011, 22:02
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: CRio Connection: Buggy

After imaging the cRIO, there is no code installed on the robot. Does that explain your problem?
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2011, 15:51
ChaosX73 ChaosX73 is offline
Registered User
AKA: Ryan Harrison
FRC #2338 (Gear it Forward)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Aurora, IL
Posts: 75
ChaosX73 is a glorious beacon of lightChaosX73 is a glorious beacon of lightChaosX73 is a glorious beacon of lightChaosX73 is a glorious beacon of lightChaosX73 is a glorious beacon of light
Re: CRio Connection: Buggy

It's not the fact that there is no code, it's the fact that for some reason, the CRio doesn't want to admit that it's connected to my computer. My mentor said something about the CRio being "Bricked" but I have no idea what that means.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2011, 18:11
mswalker mswalker is offline
Mentor
FRC #2583 (Westwood Robotics)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 26
mswalker is on a distinguished road
Re: CRio Connection: Buggy

We are having the same issue. After re-imaging the cRio (three times successfully) and updating labview, we cannot run code on the cRio. We can ping it but when we try to "run at startup" we get a message that Labview cannot communicate with the real time target. The status light on the cRio repeats a series of 4 flashes as reported above.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2011, 20:25
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: CRio Connection: Buggy

Four flashes means a double crash. The manual mentions it could be due to running out of memory.

You may want to watch the deployment dialog closely to see if that indicates a memory issue.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2011, 17:21
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: CRio Connection: Buggy

Just got the same thing at one of the teams here.

Re-imaged the cRIO with v27 and we start getting the 4 blinks repeated.
Cannot download code but can reimage it to our hearts content.

I can reimage with v25 and everything works fine again.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 07-02-2011 at 17:25.
Reply With Quote
  #6   Spotlight this post!  
Unread 07-02-2011, 17:32
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: CRio Connection: Buggy

Quote:
Originally Posted by Mark McLeod View Post
Re-imaged the cRIO with v27 and we start getting the 4 blinks repeated.
Cannot download code but can reimage it to our hearts content.
Does the serial console show anything interesting?
Reply With Quote
  #7   Spotlight this post!  
Unread 07-02-2011, 20:02
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: CRio Connection: Buggy

I have console dumps, but haven't been able to look at them.
I did get it working, but I'll have to wait on posting an update.
I'm in transit between teams.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 08-02-2011, 00:22
mswalker mswalker is offline
Mentor
FRC #2583 (Westwood Robotics)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 26
mswalker is on a distinguished road
Re: CRio Connection: Buggy

We managed to get code to deploy/run a few times but mostly we get the four flashes in Status. On one of the times it worked, I checked the memory usage and there was still 16K or so free.

The four flashes in status start even after a reboot with no attempt to deploy. I tried disconnecting everything - removing all sidecar adapters, ethernet connections etc. And rebooted. And still the cRIO showed four flashes.

From a laptop I can ping the cRio before trying to run. When I try to run I get "can't connect to real time target" but after cancelling, I can still ping the cRio.

I have not tried to go back to v25. I'll check that out.
Reply With Quote
  #9   Spotlight this post!  
Unread 08-02-2011, 07:50
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: CRio Connection: Buggy

16K is not much. Can you verify that number and clarify when you are at 16K?

Greg McKaskle
Reply With Quote
  #10   Spotlight this post!  
Unread 08-02-2011, 10:16
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: CRio Connection: Buggy

I just want to jump in to say that we've seen similar issues since the update.

Since the update we haven't been able to deploy code wirelessly. When we try to deploy wired, we haven't been successful when hooked to the Dlink. If we connect directly to the cRIO, we are successful deploying about 25% of the time (i.e. it takes about 4 tries before it works).

After deploying new software and rebooting, we are able to get the robot to run wirelessly through the driver station. No issues.

We have not yet been able to run software via the Run button since the update. It starts to run and then it promply loses connection.

That's all I have for now. I won't see the cRIO until Wednesday night, so if I notice anything new then I'll try and post it.
__________________
-
An ounce of perception is worth a pound of obscure.
Reply With Quote
  #11   Spotlight this post!  
Unread 08-02-2011, 15:27
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Re: CRio Connection: Buggy

I currently have a temporary solution. Our team had the same problem and what we found is that we plug an ethernet cord into the linksys slot 1 in the rear and plug the other end into a laptop and wait a bit it finally works. we have no clue why but it works. also, one of our mentors (going for his masters in computer science) played around with it a bit and all of a sudden it works well now. We don't even have to plug it into an ethernet cord and laptop. yay
__________________

jRIO 2013 Project

Last edited by IisMathwizard : 08-02-2011 at 15:30. Reason: added information
Reply With Quote
  #12   Spotlight this post!  
Unread 08-02-2011, 15:31
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Re: CRio Connection: Buggy

I can later reply back with a post on what he did when i meet him next.
__________________

jRIO 2013 Project
Reply With Quote
  #13   Spotlight this post!  
Unread 15-02-2011, 00:08
thE_iyE's Avatar
thE_iyE thE_iyE is offline
Registered User
FRC #3225 (Wolverine Robotics)
Team Role: Student
 
Join Date: Feb 2011
Rookie Year: 2010
Location: UT
Posts: 7
thE_iyE is an unknown quantity at this point
Re: CRio Connection: Buggy

Just to cover some bases for ChaosX73:

Quote:
Originally Posted by ChaosX73 View Post
It's not the fact that there is no code, it's the fact that for some reason, the CRio doesn't want to admit that it's connected to my computer. My mentor said something about the CRio being "Bricked" but I have no idea what that means.
I can't seem to image the cRio from my personal laptop, so I have to use the classmate. I 'bricked' (which means to turn it into an expensive paper-weight) our cRio by using the imaging tool on my laptop, so the way you have to fix it is format the cRio. You format it by putting the cRio in safe-mode. Once its in safe mode, try to deploy code using the imaging tool. It will recognize it in safe-mode and ask if you want to format it, do so. This will return it to its normal state so you can put new code on.

Its likely not bricked, so try and just deploy v28, but if your computer doesn't recognize it and the IP address doesn't seem to be recognized by your computer, its likely bricked.

Again, this is just to cover some bases for ChaosX73. Hope it helps!
__________________
Not very outgoing or authoritative in real life, but on the internet I could be a moderator.
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 21:19.

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