From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.


Showing results for 
Search instead for 
Did you mean: 

How do you pass data out of a loop prior to it's termination?

I would like to pass information out of an executing loop structure while it is still looping. As far as I can tell, values collect at the loop structure output terminal until it is done. I want to get around this!
0 Kudos
Message 1 of 3
You can use local or global variables. If you process the information in another part (loop, vi, etc.), there is the possibility you may run into race conditions. To avoid that you can use vi's for synchronozation or detection of ocurrences. Check LabVIEW's examples in the help file, specially those in the Advance section.

Message 2 of 3
Thanks a lot! I reviewed the help on those topics and that should do the trick.
0 Kudos
Message 3 of 3