Thread: Wait Function
View Single Post
  #7   Spotlight this post!  
Unread 17-04-2011, 15:58
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Wait Function

None of your posts really say why a loop with a 10ms delay would run at 500hz consistently, just why it may be noisy. I think the original poster meant that it was pretty consistent with its 2ms time.

The probably may be that you didn't wire up a string to the "name" part of the vi, and you're calling it twice within the same vi. Not wiring up a name is fine for teleop, where there's only one loop, but you probably want to do it in periodic tasks, where there may be multiple loops you want to measure.
Reply With Quote