LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

While Loop - Iteration Terminal

Why the iteration terminal in my upper while loop counts only to 1? (err_while.vi)

Petr Bilovsky
0 Kudos
Message 1 of 2
(2,598 Views)
Hi PetrB
I tested your vi. Results are unexpected.
Upper loop runs to 10 and stops.Down loop keeps running and it should not, because the inputs to AND gate are TRUE.
I deleted down loop and copied upper loop ant Now they stop at 10.

I don´t know your DLL, so try to make it reentrant to avoid side efects.

Hope this helps.
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 2 of 2
(2,598 Views)