Thread: CPU at 100%
View Single Post
  #5   Spotlight this post!  
Unread 03-03-2014, 23:07
joecloud joecloud is offline
Registered User
FRC #2805
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Texas
Posts: 22
joecloud is an unknown quantity at this point
Re: CPU at 100%

Do you have pneumatics on the bot? Make sure in periodic tasks that your compressor code is not in it's own while loop, I did this and had the same issue with max cpu usage and robot joystick response being choppy.
VI's you are implementing that already have set refresh cycles with while loops can cause the cpu to hang if you put those VI's in another while loop (like the cotrol loop for the compressor).
__________________
--
Joe,
Programming: Team #2805
Reply With Quote