11-05-2010 10:58 PM
Hello All
here is my problem.I have two different SubVi's using LabView 8.0. My question is about these SubVi's.
I have a VI. I call the subvis in a while loop. I donot put any input into any of them SubVi. After the subvis are completed, I continue my calculation in the Loop. In the next cycle of the loop, When I call the two Subvi (in the same loop) one of them initilizing all the values to the saved default values, but the other one uses the last values from the previous executions. I could not find any difference why one of them initilizes and the other one does not intilize to the default value.
Here is a basic test i made. I copy/paste one of the diagram and put the diagram into the other one, such a way that both of the diagrams are identical. When I excecute these two SubVi's in the main Vi, one of them keep initilizing, the other does not initilize.
What are teh difference between these two VIs.
I might send those Vis (main Vi and SubVis.)
11-05-2010 11:11 PM
Sounds like you have shift registers/feedback loops and in one, you initialize it and in the other you don't.
You should have have attached the code. Then no one would have guess.