LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The while loop in LabVIEW can be randomly interrupted?

Solved!
Go to solution

I want to know whether the while loop in LabVIEW can be randomly interrupted,how do it.

0 Kudos
Message 1 of 2
(2,314 Views)
Solution
Accepted by topic author 刘狗蛋

Hi,

 

you cannot "interrupt" structures as is dictated by DATAFLOW…

(You can stop your while loop once all code inside has finished execution.)

 

You might use case structures to place code inside to be able to dis/enable its execution. Once you do this you should also think about state machines!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,310 Views)