|
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.
|