View Single Post
  #11   Spotlight this post!  
Unread 27-03-2012, 22:57
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

I tend to think differently and not break auto into one second increments, but there's no problem with doing it you way you've chosen to. You just need to minimize the duplicate copies of code. What you've done can be made over into a sequence, but it'd pretty much look the same.

Here are my suggestions to cut the memory way down (to ~10MB altogether).
Open up Auto:

1) Double click on one (only need to do one and the rest will follow) Motor Set Output to open it up, choose File->VI properties and go to the Category: Execution. Choose "Reentrant execution" and "Share clones."

2) Do the same for Tank Drive and Relay Set.

3) Get rid of the error messages (the drive train name has an extra space in Disabled), that are maxing out your cRIO CPU utilization. That can cause a problem linking to the field while Disabled.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-03-2012 at 23:01.
Reply With Quote