Go to Post Why is the battery labeled "battery"? - Vermeulen [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 29-01-2014, 22:04
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Get Available Memory

I'm working on a new auton system and one of the main problems raised by my associates was how much memory the system was using. Is there a way to get the amount of memory currently available to the program?
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2014, 22:43
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 434
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Get Available Memory

You can view many performance metrics using the log file viewer, but I don't think it displays available memory.

The only mechanism I can think of for viewing available system memory on the cRIO is to use netconsole to get access to the operating system (vxWorks). I'm not sure if netconsole lets you send commands, if it doesn't you can try out this node.js implementation.

Another alternative:
You should also be able to connect over the serial port. follow these steps, using a terminal program like HyperTerminal, or putty.
Quote:
Connect a null-modem serial cable from your computers serial port to the controller serial port.
Configure a terminal program for 9600 bps, no parity bit, 8 data bits, and 1 stop bit.
Turn the CONSOLE OUT DIP switch on the controller to the ON position and reboot the controller. The terminal will display output and diagnostics during the boot process. When it is finished, the message “Welcome to LabVIEW Real-Time” will print.
Once at vxWorks, use the memShow command to view free/used memory.

More info on vxWorks commands here
__________________
http://team2168.org

Last edited by otherguy : 29-01-2014 at 22:54.
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2014, 06:05
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 990
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Get Available Memory

Click on the Charts tab of the Driver Station and look over to the right: http://wpilib.screenstepslive.com/s/...ation-software
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2014, 13:25
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 434
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Get Available Memory

Quote:
Originally Posted by RufflesRidge View Post
Click on the Charts tab of the Driver Station and look over to the right: http://wpilib.screenstepslive.com/s/...ation-software
Thanks for pointing that out. I didn't see it in the chart when I was looking last night.
__________________
http://team2168.org
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 13:11.

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