Go to Post Just remember, a spark of inspiration can produce a lifetime of success. - JoeXIII'007 [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 17-02-2014, 15:38
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 waiting to respond

If you click to the Diagnostics tab of the Driver Station, does it have a lot of errors, or a steady stream of errors? If so, see if fixing those errors helps with the difficulty deploying. Also, look at the Charts tab to see if the CPU usage is very high.

Greg McKaskle
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2014, 16:00
Laxkief9098 Laxkief9098 is offline
Registered User
FRC #4557
 
Join Date: Jan 2014
Location: Connecticut
Posts: 17
Laxkief9098 is an unknown quantity at this point
Re: CRio waiting to respond

The computer's CPU usage is relatively low (10%) and the following errors occurred and I am not sure how to fix them:

Warning <Code> 44002 occurred at Ping Results: link-GOOD, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad Driver Station
<time>2/17/2014 3:55:33 PM<unique#>17
FRC: Driver Station ping status has changed.

Warning <Code> 44004 occurred at Driver Station
<time>2/17/2014 3:55:32 PM<unique#>16
FRC: The Driver Station has lost communication with the robot.

WHat can I do to resolve these errors because the first error (44002) has always appeared; however the second error (44004) is new.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2014, 16:07
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 waiting to respond

If you look at the timestamps, the communications goes down. This means that for over one second, no valid status packets from the robot have arrived. About one second later, the ping is performed, and the radios and cRIO are not there. Without knowing your system, I'm not sure if it is just the cRIO that disappeared or if the radio in-between caused the issue.

Note that the DS doesn't know about intent, and these errors often show up when you reboot the cRIO, deploy and restart, etc.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2014, 16:10
Laxkief9098 Laxkief9098 is offline
Registered User
FRC #4557
 
Join Date: Jan 2014
Location: Connecticut
Posts: 17
Laxkief9098 is an unknown quantity at this point
Re: CRio waiting to respond

Are there any solutions I can try because the problems continue to persist when I am hardwired into the CRio directly, bypassing the D-Link? How can i fix it if it is the CRio that disappears?
Reply With Quote
  #5   Spotlight this post!  
Unread 17-02-2014, 16:31
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 waiting to respond

Can you post a picture of the deployment dialog?

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 18-02-2014, 10:18
Laxkief9098 Laxkief9098 is offline
Registered User
FRC #4557
 
Join Date: Jan 2014
Location: Connecticut
Posts: 17
Laxkief9098 is an unknown quantity at this point
Re: CRio waiting to respond

The deployment decided to work most of last night and it was not until later that the deployment process failed. I attached a picture of a screenshot. The deployment process failed yet I am able to ping the CRio.
Attached Thumbnails
Click image for larger version

Name:	LabView Problem2.jpg
Views:	38
Size:	289.3 KB
ID:	16307  
Reply With Quote
  #7   Spotlight this post!  
Unread 18-02-2014, 11:48
chris.boyle's Avatar
chris.boyle chris.boyle is offline
Programming Mentor
FRC #0068 (Truck Town Thunder)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Truck Town Thunder (Brandon)
Posts: 36
chris.boyle is on a distinguished road
Re: CRio waiting to respond

I am also interested in how to get past this particular issue, as we have been seeing this a lot also.

One method that works for us is to start the cRIO Imaging Tool and change the NO APP setting to TRUE and apply. Then deploy the code. Restart the cRIO Imaging Tool and set the NO APP back to FALSE and apply these changes.
__________________
2014 Chairman's Award--Michigan State Championship
2014 Chairman's Award--Waterford District
2014 Winner--Great Lakes Bay District
2013 Chairman's Award--Kettering District
2012 Championship Division Finalists--Thanks 330 and 639
Reply With Quote
  #8   Spotlight this post!  
Unread 18-02-2014, 13:34
Laxkief9098 Laxkief9098 is offline
Registered User
FRC #4557
 
Join Date: Jan 2014
Location: Connecticut
Posts: 17
Laxkief9098 is an unknown quantity at this point
Re: CRio waiting to respond

Is there a solution that fixes it so that we do not have to use the re-imaging tool every time we need to deploy code?
Reply With Quote
  #9   Spotlight this post!  
Unread 18-02-2014, 13:38
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 waiting to respond

At this point I don't have a project that shows the issue in a reproducible way. Please contact NI technical support and see if they have suggested solutions, and see if they would like a copy of your project and files so that it can be investigated more thoroughly.

Greg McKaskle
Reply With Quote
  #10   Spotlight this post!  
Unread 18-02-2014, 16:05
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: CRio waiting to respond

We've seen this occasionally over the past few days in our marathon programming sessions (code, deploy, test, repeat endlessly). If rebooting the Rio/Radio doesn't fix the issue, we then reboot the Computer. Occasionally Windows is the problem.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #11   Spotlight this post!  
Unread 20-02-2014, 14:08
chris.boyle's Avatar
chris.boyle chris.boyle is offline
Programming Mentor
FRC #0068 (Truck Town Thunder)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Truck Town Thunder (Brandon)
Posts: 36
chris.boyle is on a distinguished road
Re: CRio waiting to respond

Quote:
Originally Posted by Greg McKaskle View Post
At this point I don't have a project that shows the issue in a reproducible way. Please contact NI technical support and see if they have suggested solutions, and see if they would like a copy of your project and files so that it can be investigated more thoroughly.

Greg McKaskle
I took his advice and called NI on bag day, unfortunately I did not have the cRIO in front of me at the time. Tech support was very helpful and mentioned a couple of things to look for to identify the reason for not being able to deploy code.

1) Check for high CPU utilization:
If the CPU utilization is too high it does not deploy code. It pegged at 100% for a few seconds during the start up. Our CPU was running between 35 - 40% after initial start up was complete. This was still too high for our 4 Slot cRIO.

2) Check for CPU utilization with no applications running:
Reformat the cRIO, reboot and run without deploying any code. Check the CPU utilization at this point. We were running at 0%. If there was any CPU utilization, I was supposed to call back before they closed at the end of the day.

I offered a copy of our robot project code to test with. They said due to the many different environments, it would be a very generic test and may not reproduce our situation.

The suggestion was:
A) Use the cRIO Imaging Tool to set the NO APP Switch
B) Reboot cRIO
C) Deploy code
D) Use Imaging Tool to turn off NO APP Switch
E) Reboot cRIO

These steps are also necessary if we want to run the code from a laptop to debug. It is a viable work-around for now. I can imagine this becoming an issue at competitions if we need to redeploy any code in between matches.
__________________
2014 Chairman's Award--Michigan State Championship
2014 Chairman's Award--Waterford District
2014 Winner--Great Lakes Bay District
2013 Chairman's Award--Kettering District
2012 Championship Division Finalists--Thanks 330 and 639
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 20:51.

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