LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reentrant clone- Handling queues reference

HI

I have a requirement where in i need to run a vi which sends data to a queue as reentrent clone. For example, lest say its daqmx read, so there will be reads of diffrent sampling rates, and data will be pushed to queues using clones

 

my question is that, how Queue reference is handled as clones, what should be the queue reference to receive data from a clone (dequeue), how can i transfer references?

Download All
0 Kudos
Message 1 of 3
(667 Views)

You can access an existing queue reference by passing a queue refnum through the connector or using the name.

In your attachment, both VIs obtain the queue using the same name hence they will access the same queue reference.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 3
(632 Views)

If you send in the queues to the VI or use named queues they'll all use the same queue.

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(612 Views)