cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Is there any way to jump into a certain i (iteration round) in a For-loop if a certain rule is met?

¡Resuelto!
Ir a solución

The question is in the topic.

 

Help is appreciated.

 

 

0 kudos
Mensaje 1 de 4
2.730 Vistas
Solución
Aceptado por el autor del tema Aleksi-

Nope.

 

 

Spoiler

You cannot influence the iteration count. It just counts up, starting from zero.

You may add an offset to "i" to "fake" a certain count value…

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 kudos
Mensaje 2 de 4
2.716 Vistas

...or use a while loop and maintain a loop count yourself using an incrementing shift register.

 

You can have a case structure in your loop that modifies this count under the required conditions.

Mensaje 4 de 4
2.683 Vistas