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

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

communicate between 2 parallel running while loops

is this possible? my aquistion is in one loop, and i have anothe loop which is collecting the samples the writing to file. i cant put the collecter in the aquistion loop as its set up to stop on triggers, thus reseting the data stored in the collector. so can i tunnel data out of the first loop into the 2nd one?

thanks
0 Kudos
Message 1 of 3
(2,831 Views)

Search for producer/consumer design patterns. Also look at queues.

http://zone.ni.com/devzone/conceptd.nsf/webmain/C54BADADD8BBDE4286256C5200533B80

0 Kudos
Message 2 of 3
(2,827 Views)
great n thanks for that 🙂
0 Kudos
Message 3 of 3
(2,823 Views)