LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Queue, stack, queue stack

Hi everyone,

 

Can anyone here tell me what's the difference between queue stack from queue and stack?

 

Cheers. 

0 Kudos
Message 1 of 5
(3,539 Views)

Same thing.  If you visualize them mentally, a queue is oriented horizontal, and a stack is vertical.  The word stack is more closely associated with assembly and machine language, and queue is usually an array structure, with controls for inserting, reading creating destroying, etc.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 5
(3,530 Views)

How about queue LIFO and queue FIFO? 

0 Kudos
Message 3 of 5
(3,524 Views)

just data strucutres ..........basically if last element in is first element out you call it as stack ( just name )

and if first element  in is the first element out you call it as a queue....

resembles to real lifeSmiley Wink

0 Kudos
Message 4 of 5
(3,505 Views)

In LabVIEW, if you add elements to the queue using Enqueue Element, you are creating a FIFO (First In, First Out).  If you add elements to the queue using Enqueue From Opposite End, you are creating a FILO (First In, Last Out).  The FILO is often called a Stack.



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
0 Kudos
Message 5 of 5
(3,497 Views)