Go to Post We know that the real goal of FIRST is not for this robot to win, but that we learn something. If i was on robotics to win, it wouldn't be nearly as fun. - Nin_estarSaerah [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, 17:16
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
CRio Connection: Buggy

We got the most recent LabView update today, and after reimaging the CRio (which was successful by the way), I opened the driver's station. My computer is tethered to the bot and we have not had communications problems before now. Now, even though I can ping the robot successfully, the communications only like to come on for one second, turn off, wait a minute, and then repeat. On the CRio, the Status LED blinks 4 times in a row and repeats that. I have power-cycled the bot many times and, yes, I have restarted my computer. Nothing is working.

What happened? Does the Labview update contain evil?
Reply With Quote
  #2   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
  #3   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
  #4   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
  #5   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
  #6   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
  #7   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
  #8   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
  #9   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
  #10   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
  #11   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
  #12   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
  #13   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
  #14   Spotlight this post!  
Unread 08-02-2011, 21:54
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 made some progress in identifying this problem.

First, reimaging back to the v25 cRio firmware corrected the problem. There were no blinking status lights and we could deploy code at will.

I then re-imaged using v27 making sure to connect directly from PC to cRio via ethernet. The four blink status light returned. We could not deploy code getting the "failed to connect to Real-time Target" message. We checked to make sure Labview was at 3.1 FRC level.

We had loaded the CAN driver for the Black Jaguar Serial Bridge and had that working under v25. In the cRio Imaging tool I first changed the plugin to "None" leaving "Enable NetConsole" checked. Reimaged at v27 and still had four blink status.

Then I unchecked "Enable NetConsole" and reimaged. That seemed to fix it. cRio booted and I was able to deploy code.

It appears that adding the NetConsole and maybe CAN is consuming memory and putting us over. We have a 2009 cRio. Does this make sense? Are we going to have to avoid CAN? An ideas?
Reply With Quote
  #15   Spotlight this post!  
Unread 08-02-2011, 22:11
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: CRio Connection: Buggy

Please post console logs (both NetConsole and Serial Console) when you see this issue.

Thanks,
-Joe
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