09-01-2013 07:10 AM
Do you really need the First call contruct at all? If the program is fresh the array is empty and the 1st Set will add to the empty array, no?
/Y
09-01-2013 07:34 AM
Nope, I don't need the first call construct, I've used the feedback node to initialize.
Trusting altenbach, it will be initiated during the first call to the "set" (store) action.
This is what I'm going with for now. (until my lecturer tells me I'm wrong or doesn't allow me to use this 🙂 )
09-01-2013 10:55 AM
@Yamaeda wrote:
Do you really need the First call contruct at all? If the program is fresh the array is empty and the 1st Set will add to the empty array, no?
It is needed to define the datatype of the shift register (Of course there are other ways around this).
09-01-2013 11:04 AM
Just a little update:
been to see the lecturer today and he told us that in our case it would be best to use a 3rd state of init which would allow to reset the FGV if needed.
Also advised to use a SR instead of a FBN since it would be "easier to understand"...
09-02-2013 02:10 AM
Yeah i'd say that's a more common approach.
/y
12-13-2017 01:19 AM
I think this is what you looking for, in this VI there are 2 arrays in 1 cluster and which has the control for separately adding the DBL to any of the array and you have selection control to extract any of the 2 array at the output array.