LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Preview queue at opposite end

Solved!
Go to solution

Is it possible to preview a LabVIEW queue at the opposite end?

 

I'm using LabVIEW 8.6

 

Many thanks for your help

 

Conway

0 Kudos
Message 1 of 4
(3,670 Views)

The Queue status gives you the size of the queue...

Looks like you would have to flush the queue and look at the last element and then restore the queue...pretty ineffecient.

 

I don't see a way to look at a particular element....perhaps someone else could help.

 

Hummer 1

0 Kudos
Message 2 of 4
(3,662 Views)
Solution
Accepted by CDL

The Get Queue Status function has an optional input to Return Elements. If this is true, the function will return a preview of all the elements in the queue. You can then index out the last element in the array to preview the most recent thing put into the queue.

 

Preview_Q_End.png
Jarrod S.
National Instruments
Message 3 of 4
(3,638 Views)
Thanks Jarrod
0 Kudos
Message 4 of 4
(3,602 Views)