Go to Post I see all these people complaining about the FIRST game having perverse penalties for playing defense...then we play without defense, and still people complain. - MrForbes [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 04-02-2012, 14:08
Zerony31's Avatar
Zerony31 Zerony31 is offline
ZeroAero
AKA: Sensor Monkey/Meat Shield
FRC #0540 (Talon 540)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Henrico, VA
Posts: 10
Zerony31 is an unknown quantity at this point
How to run diagnostics on the CRIO in Labview

Our team has been struggling all day trying to figure out a way to tell how much is left on the harddrive of the CRIO and how much RAM is being used, is there a way to do this with the WPI Robotics codes or will we have to make it from scratch. Or, is it not possible at all?

-The Zero of Life
__________________
You must remain focused... OH LOOK A SQUIRREL.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2012, 14:57
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: How to run diagnostics on the CRIO in Labview

It is pretty difficult. You run the driver station and click on the right-most tab, the one labeled Charts.

The right side has three numbers that tell you the free RAM, largest free RAM block, and disk/storage. The plots tell you the CPU usage, lost packets, packet round-trip time, and robot battery voltage. If you leave the reporting code in, it also shows each time the DS/FMS tell your robot to do teleop, auto, or disable, and it shows what your robot executes in response.

All this assumes that the cRIO is turned on, imaged correctly, and that the DS and cRIO are on the same subnet.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2012, 14:57
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: How to run diagnostics on the CRIO in Labview

Take a look at the charts tab of the driver station software when the robot is running. I'm not sure if the information is availble programattically.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2012, 15:03
Zerony31's Avatar
Zerony31 Zerony31 is offline
ZeroAero
AKA: Sensor Monkey/Meat Shield
FRC #0540 (Talon 540)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Henrico, VA
Posts: 10
Zerony31 is an unknown quantity at this point
Re: How to run diagnostics on the CRIO in Labview

Ah, sorry about that, the main lead didn't realize that that part told him what he wanted. Sorry about that, we misread the driver station.
__________________
You must remain focused... OH LOOK A SQUIRREL.
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 22:21.

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