Dequeued Element in LabVIEW NXG Shows as Queue Data Type Instead of Selected Data Type

Updated Apr 2, 2018

Reported In

Software

  • LabVIEW NXG

Issue Details

I am using an Obtain Queue node to create a queue with a certain data type. I then Enqueue Elements of that type to the queue. However, when I use Dequeue Element, the data type passed out shows as a queue type instead of the data type I specified.

Solution

Be sure to create your wire from the element output of the Dequeue Element and not the queue out output. The queue out output simply passes out a reference of the queue. The element output passes out the actual values that were enqueued.

WAS THIS ARTICLE HELPFUL?

Not Helpful