LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview parallel tasks

Hello All,
I have the following question: I am using a server vi to call 8 other VIs (all are the same) that are suppose to run in parallel.These 8 VIs perform IO and data aquisition tasks.The application runs on Win2K.
For maximum performance what Priority and Preffered execution system settings should I use for main vi (server) as well as for the 8 called VIs ?
Thank you,
0 Kudos
Message 1 of 2
(2,904 Views)
> I have the following question: I am using a server vi to call 8 other
> VIs (all are the same) that are suppose to run in parallel.These 8 VIs
> perform IO and data aquisition tasks.The application runs on Win2K.
> For maximum performance what Priority and Preffered execution system
> settings should I use for main vi (server) as well as for the 8 called
> VIs ?

My guess, having not seen your application, is to leave everything alone
with prioroties and execution systems. Then if you have problems,
describe them here and with more details, we can suggest small changes.
The LV execution system is pretty well balanced and as shipped, it is
quite capable of parallel task processing on a single processor
computer. It also adapts so that if you have a
dual processor, it will
spawn more threads.

The first things to do is to ensure there are no unnecessary dataflow
requirements between the loops. Then you might try putting a wait in
the loops that are SW timed so that they don't starve out the other
tasks. Finally, if you have a loop that needs to run faster than 1KHz,
put a wait of zero in those. This doesn't sleep, but does indicate you
want to interleave with other tasks.

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