From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Development Best Practices Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Can Any body help how to use For loop Parallism....

Hai to all..

   I Wanted to Know about For Loop Parallism in LabVIEW. This new feautres available in LabVIEW 2009 / later.

0 Kudos
Message 1 of 2
(3,825 Views)

Dhanasekaran,

parallel loops can be used when the result in one iteration is independent of that of iterations before. Imagine you want to enlighten an image. You can do this for each point of the picture sequentially, but this would be done by a single thread on a single core of a single CPU. Instead you could utilize several threads, even cores and/or CPUs when using parallel loops. This way the points of the image are divided into subgroups and each subgroup is processed independent of the others. Results is a quicker overall-processing and a better utilization of your hardware.

See also here:

http://zone.ni.com/devzone/cda/tut/p/id/9393

0 Kudos
Message 2 of 2
(2,674 Views)