View Single Post
  #3   Spotlight this post!  
Unread 12-01-2015, 13:29
matan129 matan129 is offline
Registered User
FRC #4757 (Talos)
Team Role: Programmer
 
Join Date: Oct 2014
Rookie Year: 2015
Location: Israel
Posts: 19
matan129 is an unknown quantity at this point
Re: Utilizing Both RoboRIO Cores

Quote:
Originally Posted by adciv View Post
Under standard programming procedures, the operating system will automatically load balance between the two cores. You need not do anything.

Under labview, you have the option using (among other things, timed loops) to allocate processes to specific cores. Standard Labview programming is to use while loops which would be allocated automatically to balance.
Actually, the operating system will not balance any program on two cores if you are not using multiple threads, which you should hard code.

Although that if you're talking about Java/C++ WPILib specifically, I think that every command is ran in a different thread, and you also have the "task" class in WPILib which offers a more convenient interface to operate threads.