View Single Post
  #13   Spotlight this post!  
Unread 28-08-2010, 18:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Encoder v.s. Steering

Quote:
Originally Posted by Mark McLeod View Post
Just at first glance...

In Periodic Tasks Your Encoder Example should not be within the 100ms loop, because it enforces it's own infinite loop it would prevent anything else you might put in that loop from ever running more than once.
Just drag it outside the loop and that's good enough.

In Encoder2.vi the infinite there needs to be throttled down. Right now it's sucking up all your CPU time running just as fast as it possibly can.
Just add a 100ms wait in there just like that used in the Periodic Tasks 100ms loop.

Remember this thread?
http://www.chiefdelphi.com/forums/sh...94&postcount=6

I nominate this for the FAQ. This seems to be a recurring misunderstanding among users of the FRC LabVIEW Framework.


~
Reply With Quote