ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FIFO Shift Register

Solved!
Go to solution

I think this should be a pretty easy question...

 

I want to have a random number populate into an array using shift registers. The thing is, I want the array to be a fixed size and then for the value to go into the top, shift everything down and drop the bottom value. I can't seem to figure out how to fix the size of the array.

 

code attached, help appreciated!

 

downerdce_0-1667321996509.png

 

0 Kudos
Message 1 of 2
(1,732 Views)
Solution
Accepted by topic author downerdce

I figured it out...

 

just use array subset to grab the n number of values from the top you want and push them out to shift register.

 

downerdce_0-1667322725723.png

 

0 Kudos
Message 2 of 2
(1,728 Views)