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: 

Parallel while loop dequeue

I was actually thinking the same thing. All I really need are two loops and put the code of the third loop in the producer loop. I know the code's a bit messy now with no method of stopping one loop, but this is just a prototype for trying out queuing. The second loop sends out CAN data that's synchronized with the GPS data.

0 Kudos
Message 11 of 12
(532 Views)

Jeff·Þ·Bohrer wrote:

"Lossless" "one-to-many" solutions require multiple queues (or some roll-your-own pseudo buffer but that is usually not needed)


Or User Events!  But probably not the best route for this.

 

Reevaluating what should be in separate loops is probably the easiest way to fix this.  After that, use multiple queues.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 12
(527 Views)