LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

feedback nodes in subvis with multiple instances

I have a subvi that implements a state machine.  I am using a feedback node to pass the state from one iteration to the next.  I would like to have multiple instances of this subvi, but the problem is that the feedback is shared between all instances so the states get messed up.  I need each instance of the subvi to run independent of the other instances and that its feedback only feeds back from the previous itereation of that subvi instance.  Is this possible or do I need to rename the subvis to make them different and independent?
0 Kudos
Message 1 of 3
(2,554 Views)
You will need to make the subVI's reentrant in order for them to maintain there own dataspace.
0 Kudos
Message 2 of 3
(2,553 Views)
That's exactly what I was looking for.

Thanks!
0 Kudos
Message 3 of 3
(2,549 Views)