Thread: List priority?
View Single Post
  #2   Spotlight this post!  
Unread 09-02-2012, 23:39
plnyyanks's Avatar
plnyyanks plnyyanks is online now
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: List priority?

If you have Teleop.vi open, hit ctrl-I and the VI Properties window will pop up. Under the dropdown, select Execution and you can change the runtime priority. Just be careful changing things - do so at your own risk - it may break things (but I don't think it should...).


But if you want to avoid watchdog errors, why don't you just speed your code and try to make it more efficient? Because inefficient code is wasting memory, and you're probably better off making sure it's as efficient as possible before messing with priorities. If you just have too much code in Teleop.vi, maybe you can move some to Periodic Tasks where it can run in a separate loop.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote