LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reentrant

I'm trying to use a sub-vi that will keep a running array to calculate an average. The first time I call this sub-vi I initialize the arrays to the proper amount of elements. I set it to be reentrant but the data is not retained, all the elements are zero. What am I missing?
0 Kudos
Message 1 of 2
(3,043 Views)
I do not see why it needs to be reentrant. A VI containing a while loop that executes once and saves the data in an uninitialized shift register seems more appropriate.

Post your VI with some sample data and someone can probably help you.

Lynn
Message 2 of 2
(3,043 Views)