04-16-2010 10:03 AM
Hallo,
I've a "for" loop runnin on this system:LabVIEW2009, windows7, intel i7.
I wonder if and how I can tell to LabVIEW that it would be allowd to execute the different iterations of the loop at the same time (in parallel) on my 8 cores processor.
Now it execute the next iteration when it finish the previous one even if is there no dependecies within the iterations.
I'd like give a "property" to the loop that mean it can be "unfolded" for parallel execution.
Thanks
Pier
Solved! Go to Solution.
04-16-2010 10:11 AM
pop-up on For loop and select "Configure interation Prallelism"
Enable it.
Wire a number to the new "P" input to specify how many CPUs to spread it across.
ben
04-16-2010 11:06 AM
Thanks!
Does it works only if I compile the VI? I do not see any difference in the usage of the processors: still 40% in average.
04-16-2010 11:09 AM
Set the windows task manager to show a seprate graph for each core. That will show if the load is be shared.
Ben
04-19-2010
03:26 AM
- last edited on
02-05-2025
05:20 PM
by
Content Cleaner
Hi Pier,
If you want a complete documentation about Parallel For loop, have a look at the what's new in LabVIEW 2009 Link
Regards,
Laurent