LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView task priority and concurrent tasks on Win2K

When doing some number crunching with LabVIEW, my program is
using all CPU time on my Win2K desktop. Even when I have some
other programs running in the background (like setiathome...)
with the same taskpriority as LabVIEW, LabVIEW is using all the
CPU time for its calculations. Normally it should share the
CPU with all other tasks of the same priority, as I understand
the task scheduling of Windows. Why doesn't work LabVIEW this way?
0 Kudos
Message 1 of 2
(2,640 Views)
> When doing some number crunching with LabVIEW, my program is
> using all CPU time on my Win2K desktop. Even when I have some
> other programs running in the background (like setiathome...)
> with the same taskpriority as LabVIEW, LabVIEW is using all the
> CPU time for its calculations. Normally it should share the
> CPU with all other tasks of the same priority, as I understand
> the task scheduling of Windows. Why doesn't work LabVIEW this way?

LV does work that way. By default the execution takes place in threads
that are the same priority as the LV process. If the LV process is
lowered in priority, so are its threads, and vice versa. It is possible
to set LV threads to be a few priority marks above or below this, so one
thing to check is to see wh
at the priority of the VI is set to.

Also, Seti may always decide to execute in threads that are a lower
priority than its process. It is possible to set process priorities to
try and better balance these out, if that is your goal.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,640 Views)