Deliver Data Between Parallel Loops

Updated Feb 27, 2018

Reported In

Software

  • LabVIEW

Issue Details

I want to deliver data one by one from a while loop to multi loops at the same time, which structure should I use?

Solution

Variable can deliver data between loops, but may cause compete and risk, moreover, variable only update the latest value. Queues can put data into buffer and fetch it from buffer anytime you want, of course buffer is empty after fetch all the data. Notifier is the best option to send a message to multi loops. Here is a example below. 


     

WAS THIS ARTICLE HELPFUL?

Not Helpful