Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   CRIO maxing out CPU (http://www.chiefdelphi.com/forums/showthread.php?t=111372)

TogetherSword8 16-01-2013 12:40

CRIO maxing out CPU
 
We reimaged our CRio using the 2013 imaging software and we are comming up with a problem.
We take code using the new Labview and after we deploy the code the CRIO CPU % goes through the roof.
I don't know if the imaging software is faulty or whether it is something that we are doing.

Any suggestions?

Mark McLeod 16-01-2013 12:45

Re: CRIO maxing out CPU
 
Not your fault and not a problem.

There's just a bug in the Driver Station Charts tab display.
It plots the cRIO % against the 12v battery scale rather than against 100%.
Once the cRIO % rises above 15% it disappears off the top of the chart.

Looking at the log through the Log Viewer should show the correct plot.

TogetherSword8 16-01-2013 12:57

Re: CRIO maxing out CPU
 
I would agree with you, however we are also experiencing huge amounts of lag that eventually prevent it from running at all.

Also, nothing is showing up when I open up the log viewer.
When I look at older logs I see the graphs but when the problem first started happening we can no longer view any of the data from the logs.

Mark McLeod 16-01-2013 13:10

Re: CRIO maxing out CPU
 
I think NI said there was a different Log Viewer bug.

P.S.
Last years Log Viewer seems to still work, but I don't have a good log to test it against.

If it's laggy the problem could be excess error messages.
How do your Diagnostics tab messages look?

TogetherSword8 16-01-2013 13:23

Re: CRIO maxing out CPU
 
Thanks for the tip.
We are getting a huge overload of errors in the diagnostics. We are currently working on reducing this number and hopefully bringing it down to none.

Mark McLeod 16-01-2013 13:35

Re: CRIO maxing out CPU
 
Last year "none" was the best goal.

This year, however, there are some new messages that will be near impossible to get rid of entirely.

Messages for what's connected/what's not connected to the Driver Station have been added, and others that just mention state changes like Disabled/Enabled, so for instance we'll see messages telling us that we don't have an optional secondary router.
They'll mostly be warnings that can disguise real error messages, so read them carefully.

Ether 16-01-2013 14:00

Re: CRIO maxing out CPU
 
Quote:

Originally Posted by Mark McLeod (Post 1216615)
They'll mostly be warnings that can disguise real error messages, so read them carefully.

I've not yet seen the 2013 display. Are info/warning/error messages displayed in different colors?



Mark McLeod 16-01-2013 14:03

Re: CRIO maxing out CPU
 
No color changes.

Here's what an initial startup of the Driver Station Diagnostic messages looks like without the robot.

Quote:

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>1/16/2013 2:01:15 PM<unique#>5
FRC: Driver Station ping status has changed.
Warning <Code> 44004 occurred at Driver Station
<time>1/16/2013 2:01:13 PM<unique#>4
FRC: The Driver Station has lost communication with the robot.
ERROR <Code> -44009 occurred at Driver Station
<time>1/16/2013 2:01:12 PM<unique#>3
FRC: A joystick was disconnected while the robot was enabled.
Warning <Code> 44001 occurred at No Change to Network Configuration: <noNICConfig><noNICConfig>
FRC: Driver Station network configuration status.
Driver Station
<time>1/16/2013 2:01:12 PM<unique#>2
Warning <Code> 44006 occurred at Driver Station
<time>1/16/2013 2:01:12 PM<unique#>1
FRC: Custom I/O is not enabled or is not connected to the driver station.

Ether 16-01-2013 15:37

Re: CRIO maxing out CPU
 
Quote:

Originally Posted by Mark McLeod (Post 1216636)
No color changes.

Here's what an initial startup of the Driver Station Diagnostic messages looks like without the robot.

If each type of message were sent with a unique prefix tag they could be displayed as different colors on the screen. Perhaps next year?



Greg McKaskle 16-01-2013 21:07

Re: CRIO maxing out CPU
 
Perhaps sooner than that.

A newer log file viewer is in the works and is due to be released shortly. It will read both version 0 and version 1 files. The viewer released at kickoff only reads version 0 files and this year's DS produces version 1 files.

As mentioned, the number of messages is up quite a bit to aid in debugging field and/or robot issues, but the downside is the verbosity. The new one does color code and filter messages, but at this point the DS displays all messages.

Greg McKaskle

Mike AA 16-01-2013 23:03

Re: CRIO maxing out CPU
 
Good to hear Greg. I was hoping for some diferetion of bad error and minor error.

alange6373 17-01-2013 07:39

Re: CRIO maxing out CPU
 
hey I'm on the same team as TogetherSword8 has any one else had the problem that we are having. The CRIO CPU is maxed out, yet we are not having any lag anymore. is it just a glitch in the software or is it actually maxing out the CPU.

When I use the old drivers station to drive the robot it still shows the CPU maxed out and we are also having the problem of not being able to see the charts in Log Viewer.

alange6373 17-01-2013 08:29

Re: CRIO maxing out CPU
 
Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-GOOD, cRIO(.2)-GOOD, FMS-bad Driver Station
<time>1/17/2013 8:26:08 AM<unique#>24
FRC: Driver Station ping status has changed.


we get this message even if the driverstation is seeing the robot
is that fine or is something going on?

Mark McLeod 17-01-2013 08:36

Re: CRIO maxing out CPU
 
That message is fine.
It's just information. You'll get it whenever a new contact is made, e.g., when you finally hear from the robot radio you'll see this updated message again.

alange6373 17-01-2013 08:39

Re: CRIO maxing out CPU
 
ok

we have been having the problem with the Crio maxing out even if there is no lag
the only time it isn't maxed out is when we first connect or format it.

thoughts?


All times are GMT -5. The time now is 19:23.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi