LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call subvi by reference

Yesterday I successfully called a subVI by reference by using an "open vi reference.vi". Today, I get an error message saying that "the vi is not in a state compatible with this operation". I did change a few things in my subvi but I do not know what I changed to cause this problem. Does anyone have a suggestion? It seems to work when it is not in a loop, but when put into a while loop, the error occurs. Yesterday it was in the same loop and worked fine. I need to run this subvi without waiting for it to finish. Thanks in advance for any help provided.
 
-Mark
Message 1 of 2
(2,713 Views)
Never mind. I found that I was trying to call it twice in the same VI. After I corrected the double call problem it works fine. Thanks to anyone who has been pondering but haven't replied yet.
Message 2 of 2
(2,701 Views)