Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Queues and Timed Loops

Hello everyone,

 

As far as my knowledge goes queues have blocking behaviour and should therefore not be used for communication to/from/between timed loops.
But what about a queue with preview queue operation in a timed loop and a lossy enqueue operation in a minor priority loop both with a timout of '0'? Blocking should be avoided then, i guess?

Best Regards,

Julian

0 Kudos
Message 1 of 3
(2,407 Views)

RT FIFOs is what you should be using.


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
Message 2 of 3
(2,397 Views)

You are right. This is the most accurate way. I thought of having something like the "Tag Bus" in DCAF (a central data stream). I could easily put a strict type def cluster on the "Bus" which could be read simultaneously in different parallel loops.

0 Kudos
Message 3 of 3
(2,382 Views)