01-17-2013 08:58 AM
If a have a master slave design and a duel processor, I would like the do the following. For the master thread, it can share a processor core with other PC processes. For the slave thread, I want to use the second core exclusively (no other processes should be able to use this core). If my slave thread can't own the core, is there a way to make the thread super top priority. I want that slave thread to execuate as fast as possible, and I don't want it to wait. I guess time looped would play a role?
01-17-2013 09:20 AM
I use timed loops for this. With the timed loop you can specify the CPU to use.
01-17-2013
09:27 AM
- last edited on
05-19-2025
10:03 AM
by
Content Cleaner
You could also make your slave in to a vi and use priority setting in the execution section of vi properties to the one that suits you. This link will help: https://www.ni.com/docs/en-US/bundle/labview/page/prioritizing-parallel-tasks.html
01-17-2013 09:47 AM
You should be able to run multiple threads on the separated CPUs since your application is running under Real-Time OS. This could give you the chance to set different priorities and tune your resources usage according to your needs. Otherwise, the (General Pourpose) OS will take control over switching thread execution on available CPUs without giveing the developer the chance to set anything.
Best regards