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 to put (queue) in the Array.
Length of the Array (length of the queue).
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 the data in value to be enqueued even if it hasn’t changed.