02-12-2016 08:15 AM
Hello,
Here are key features of my setup:
The VI is organized as follows:
The problem is: 2nd iteration of the external FOR loop doesn't run.
Where I've been mistaken ?
Thanks in advance
Pavel
Solved! Go to Solution.
02-12-2016 08:22 AM
Can you convert your code for LV2014?
02-12-2016 08:27 AM
Here it is
02-12-2016 08:44 AM - edited 02-12-2016 08:46 AM
Hi Pavel,
when the 2nd iteration of the outer FOR loop doesn't start it means the 1st iteration isn't finished yet. THINK DATAFLOW!
Did you check that behaviour using Highlight execution debugging? Where is your FOR loop stuck?
Edit: Now I see where your 1st iteration gets stucked - even without running the code!
Please check ALL stop conditions of your inner loops: one of them will never stop in the 1st iteration of your outer loop!
02-12-2016 09:07 AM
Yes !!! The Best !
Of course, there was a staff (red-encircled) from my previous concept, that I forgot to remove.
Thanks a lot.
Pavel.
P.S. The only question before close this topic - is my VI concept is optimal for realizing the goal setup (decribed in my 1st message), or there are more optimal solutions ?
BAD case
GOOD case