LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What architecture for my application?

Solved!
Go to solution

Could you please post a small example VI about how to share a queue between a master VI (message generating loop, e.g. my program logic) and the slave VI (message handling loop)?

You said you store your queues in action engines, but I'm not exactly sure what that means.

 

Basically I need a reference to my queue, so that the master VI enqueues an element, the slave VI knows that the queue has this new element.

0 Kudos
Message 11 of 14
(861 Views)

My rough guess would be to take the example and create subVIs out of each loop.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 12 of 14
(849 Views)

Indeed that works. I just obtained the queue using the correct name, no explicit reference function needed. Didn't know that would work 🙂

0 Kudos
Message 13 of 14
(839 Views)

If you have named queues that works. I usually have a Queue ref input and wire it directly. Both are good and valid.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 14 of 14
(824 Views)