LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

value out from unfinished loop

Hi!

I have a smaller problem. How do I pass out a boolean value from a whileloop
when the loop is running?

See attached file..
0 Kudos
Message 1 of 8
(3,252 Views)
here is file....forgot
0 Kudos
Message 2 of 8
(3,245 Views)
Use a local variable !
See your vi, back...
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 8
(3,237 Views)
Hello fred,

have a look at the attached file!

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 8
(3,235 Views)
Thanks GerdW for correcting my confusion between both booleans...

CC
Chilly Charly    (aka CC)
0 Kudos
Message 5 of 8
(3,224 Views)
Hallo!

Ok, Thanks.But..

my real need is this:
In my mainloop that I want running all the time, there is a boolean
or something that starts a parallell loop to the first! I dont want
the second parallell loop to run all the time, only on command!

Is there a way to fix that?

Thanks, Fred
0 Kudos
Message 6 of 8
(3,226 Views)
Hello Fred,

just add a case to the 2nd loop. See the attached example.

Best regards,
GerdW

@cc: I didn't correct your example, we worked in parallel...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 8
(3,217 Views)
"cc: I didn't correct your example, we worked in parallel"
I know, that's why you got 5 stars !:) 🙂
Chilly Charly    (aka CC)
0 Kudos
Message 8 of 8
(3,204 Views)