View Single Post
  #9   Spotlight this post!  
Unread 26-03-2012, 16:34
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Unable to run cRIO with cRIO2 program

Wow, that really sucks up the memory doesn't it?

The project requires 28 MB of RAM.
17MB of that is just the Auto vi.

An FRC II has ~72MB available after the OS and other NI software load.
An FRC I has ~26MB available after the OS and other software.

It only leaves 44 MB free on an FRC II, and blows away an FRC I.

The biggest problem is the repeated references to the same sub vi's such as Motor Set Output.
The VI Properties->Execution (under File) are preallocating a clone for each instance. You probably want to change that to "Share clones between instances" to preserve memory.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 26-03-2012 at 21:53.
Reply With Quote