View Single Post
  #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: 431
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