Queue Data in Array

Put data values in a specified length Array. On any change of the input value, the new value is added at the beginning and the last value is deleted. In other words, the value is queued into the Array.

data in

Data to put (queue) in the Array.

array len

Length of the Array (length of the queue).

array out

Output Array (contains queued data’s).


Fill the output Array with 0, according the Length.


Clear the Array and set its length to 0.

force enqueue

Force the data in value to be enqueued even if it hasn’t changed.