Search code examples
labview

Exit for-loop in case first error occurs


The VI contains a for loop. In case of error i want to stop the for-loop.
So i unbundle the error line. and make a while-loop round the for-loop.
Setting is stop on error .
My issue: How to get out the value from the for-loop?
* Shifting register is not really working
* indexing cannto be configured (due to error line is a cluster?


Solution

  • Found the solution:

    For-Loop --> right click on border --> add condition terminal --> connect this with the unbundle element

    Screenshot of solution (yellow)