LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

next iteration on click

Solved!
Go to solution

Hello,

I'm trying to make a loop (while or for) which I'll be able to control so it won't go to the next iteration until I click.

 

I tried using a combination with case control and didn't find a solution.

 

I need the loop because I need shift register/feedback node.

 

would appreciate help.

0 Kudos
Message 1 of 5
(2,926 Views)
You should place an event structure into a while loop without a timeout.
0 Kudos
Message 2 of 5
(2,924 Views)
Solution
Accepted by topic author nihm
Here is an example for you
Message 3 of 5
(2,920 Views)

Hi nihm,

 

"I need the loop because I need shift register/feedback node."

 

In LV8.6 you can have feedback nodes without placing them in loops...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(2,918 Views)

Thanks jmcbee.

I read your reply and tried to apply it, and just couldn't figure which event is the right one...

 

your example is exactly what I need!!

0 Kudos
Message 5 of 5
(2,914 Views)