Reputation: 180
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?
Upvotes: 1
Views: 1543
Reputation: 46
Depending of LabVIEW version you are using you can do it differently. Conditional for loop was introduced sometimes at LabVIEW 8.6, before that version the only solution is to use while loop instead of for loop. No need to unbundle the error cluster, it can be wired directly into stop terminal. Error wire is also can be wired directly into boolean nodes in the latest versions of LabVIEW.
Upvotes: 0
Reputation: 180
Found the solution:
For-Loop --> right click on border --> add condition terminal --> connect this with the unbundle element
Upvotes: 4