Go to Post [*]"Dewtoxification" is a real plague among teenagers. - JesseK [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-01-2013, 15:00
apples000's Avatar
apples000 apples000 is offline
Registered User
no team
 
Join Date: Mar 2012
Rookie Year: 2012
Location: United States
Posts: 222
apples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant future
Driver Station CPU Usage

When using the 2013 driver station, we are not able to view the CPU usage accurately. According to the known bug list, the CPU graph has been scaled against the voltage graph. We could save our team a massive amount of time if we could somehow view the CPU usage as the robot was running In LabVIEW, I remember there being a "Get CPU usage" vi that we've used in the past. Does anybody know if there is an equivalent for Java?
  #2   Spotlight this post!  
Unread 09-01-2013, 21:18
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,751
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: Driver Station CPU Usage

If you are using a 4-slot cRIO, you may have luck using the NI Distributed System Manager.

Greg McKaskle
  #3   Spotlight this post!  
Unread 09-01-2013, 21:40
apples000's Avatar
apples000 apples000 is offline
Registered User
no team
 
Join Date: Mar 2012
Rookie Year: 2012
Location: United States
Posts: 222
apples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant future
Re: Driver Station CPU Usage

We're currently not using a newer 4-slot cRIO, but we'll be getting one soon. In the meantime, we've also been unable to get anything out of the DS Log Viewer. When we click on a log file on the right of the window, nothing happens. If we click "auto-scale" time, nothing happens, and if we manually type in the times/dates at the bottom of the graph, we don't see anything. So how do we go about reading the driver station logs to view our CPU usage? Also, do you know how the cRIO calculates/sends it's CPU usage to the driver station laptop?
  #4   Spotlight this post!  
Unread 09-01-2013, 21: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,751
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: Driver Station CPU Usage

The log file viewer is still in work. An improved viewer and most likely a corrected DS will be released shortly. In the meantime, perhaps you do not need to worry as much about the CPU usage. Focus on making things that work.

As for how it works ... The OS on the cRIO, VxWorks, has commands for reading the CPU usage of various priorities. The FRC Communication library on the cRIO makes that call and returns the data to the DS to be displayed and logged.

Greg McKaskle
Closed Thread


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 02:08.

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