View Single Post
  #9   Spotlight this post!  
Unread 08-02-2011, 18:26
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,795
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: Conflict Resolution

The -44061 error is not your fault.

The 3.0 version of the default Framework, without changes, generates that error for everyone.
The LabVIEW 3.1 Update that was just released fixed that small oversight.

In Periodic Tasks.vi there is an LED toggle function that runs in a loop of 0ms by default and drains the CPU dry.
So, in projects based on the original version of the Framework, the CPU usage is at 100% when the project first starts up.
It gets better once you Enable from the Driver Station and the original zero default value gets overwritten with a bigger number.

They fixed that default value in 3.1 so projects created after applying the 3.1 update won't show that error.

To fix your pre-3.1 project you just need to change the default value of that LED toggle.
  • From the Project Explorer window, go to the file called Robot Global Data.vi.
  • You'll see LED Toggle Rate (ms) with a value of 0.
  • Change the 0 to 1000
  • Right-click on the value and choose Data Operations->Make Current Value Default
Then Build and Run as startup again.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-02-2011 at 14:49. Reason: commas, mostly
Reply With Quote