Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Verifying That a For Loop Can Run with Parallel Iterations

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Not all For Loops can run with parallel iterations. After you enable parallel iterations on a For Loop, complete the following steps to verify that a For Loop can run with parallel iterations.

  1. Ensure that the environment settings are configured to display warnings.
  2. Select View»Error List to open the Error List window.
  3. Review the errors and warnings section. The For Loop can run with parallel iterations if none of the following errors or warnings appear:
  4. If enabling parallel iterations results in an error or warning, disable parallel iterations or modify the code. Refer to the NI Developer Zone at ni.com/zone to learn more about when to use parallel iterations.

Refer to the Parallel For Loop Iteration Order VI in the labview\examples\Structures\Parallel For Loop directory for an example of a For Loop with parallel iterations that causes a warning.

Note  If you have multiple VIs, such as a project or a VI containing a subVI, use the Find Parallelizable Loops Results window to find For Loops that can run with parallel iterations.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit