LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Infinite loop

hello, i have made this vi but it doesn't stop when I press STOP and creates an infinite loop. It only stop when pressing CTRL + . 

0 Kudos
Message 1 of 3
(1,981 Views)

Hi fam,

 

surely that VI will stop - after about 16-18s…

 

It's all in the THINK DATAFLOW!

 

Why do you need so many local variables in this small VI?

check.png(Just to give an idea.)

Btw. you should learn about state machines!

Best regards,
GerdW


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

Turn on execution highlighting to see what happens...

0 Kudos
Message 3 of 3
(1,915 Views)