Hello,
I'm running a Real-Time application with several timed while loops. I've attempted to set the priorities of the loops so that they will execute in the desired order. For the most part this works, however one loop is apparently being pre-empted by lower priority loops.
I've attached a screen shot of an execution trace I ran displaying this. The custom flags indicate Preemption Start (Green), Preemption End (Red), In Queue (Yellow), and Loop Done (Black). Everything seems to run fine at first: The loops execute to completion through priorities 1000, 90, 80, and 70, but the 60 loop ("Slow") runs for about 5 ms then gets pre-empted by the loops with priority 50, 40, and 30. As far as I can tell, there are no "waits" inside the "Slow" loop which would make it go idle and allow the other loops to execute. Does anyone know what will allow a lower priority VI to pre-empt a higher one in LV-RT?
I'm running LV 7.1.
TIA,
Jaegen