08-01-2012 04:15 PM
Hello,
I'm using stacked shifts in my code and I would like the number of stack shifts to correspond to a number from a control. Is there a way to do this? Thanks!
08-01-2012 04:17 PM
No. Why do you need it to change?
I'd recommend using an Action Engine setup to store the data. Have it behave as a circular array. There you can define how many elements you want to maintain in the array before discarding old data.
08-01-2012 04:20 PM - edited 08-01-2012 04:21 PM
I'm trying to average numbers and doing so by using stacked shift registers in a loop. The only issue is the number of numbers being averaged is not constant and I don't want it to average the last x amount of numbers. I will look into using an Action Engine.
08-01-2012 05:12 PM
Check out the Mean PtByPt.vi in the Signal processing palette.