Cannot Probe a Wire Inside a Parallelized For Loop

Updated Oct 25, 2018

Reported In

Software

  • LabVIEW

Issue Details

I have a parallelized For Loop and I am trying to probe a wire inside it. However, in the Probe Watch Window the Value always says, "No Debug Info." What is causing this?
 

Solution

By default, parallelized For Loops do not allow debugging. Therefore, you cannot get probe data.

If you want to temporarily debug the loop, right-click the For Loop and select Configure Iteration Parallelism. Check the box for Allow Debugging. This will force the loop iterations to execute serially, allowing you to probe the wires. However, this will eliminate the benefits of parallel operation, so be sure to disallow debugging in your final application to re-enable parallel execution.
 



 

WAS THIS ARTICLE HELPFUL?

Not Helpful