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
(3,165 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
(3,161 Views)
great n thanks for that 🙂
0 Kudos
Message 3 of 3
(3,157 Views)