10-23-2008 08:10 AM
Hello,
I have an application that uses 8 timed loops in 8 differents sub-vis, but called by the same main vi.
This application runs on a desktop PC Real Time with 8 cores.
My first question is: Does LabVIEW will manage the priorities of my 8 timed loops even if they are located in 8 differents sub-vis?
My second question is: Does LabVIEW manages only the priorities of timed loops that run on a single core? In my case, each timed loop is manually assigned to a different core. In this case, is it appropriate to set different priorities?
Thank you in advance.
Have a nice day
Matthias Baudot | Software Architect | Founder at STUDIO BODs
Solved! Go to Solution.
10-24-2008 05:40 PM
Q1: Yes, LabVIEW will manage the priority of every Timed Loop that is running, even if they are all in separate VI's.
Q2: If each Timed Loop is assigned to its own core, then it will have all the resources of that core available to it. You will not have to assign priorities if every Timed Loop has its own core. The only time a Timed Loop may interupt another Timed Loop is if they're assigned to the same core, or one is not assigned to a core at all. In the later case, that Timed Loop may interupt any of the other Timed Loops that are lower priority. But it sounds like in your application, assigning priorities wouldn't be necessary since there's one Timed Loop assigned to a core.