LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem running a vi using invoke node

Ok, the one on the top has to begin before, i mean, i make sure than the other one not run at the same time, it run 45 seconds after. That's why i don't understand anything. Furthermore, i don't have this problem every time. It only appears sometimes....

 

Thanks for your help 😉

0 Kudos
Message 11 of 13
(751 Views)
You would have to post your code, because from the image you posted, I don't see how or where the bottom loop can start 45 seconds later.  (I must admit my eyesight is not what it used to be 😞 )..
 
But you didn't answer my questions:   After starting LV (first time/fresh re-boot), the first time you run this VI, will it work?  If you try it again, will it fail?
 
Because you wired FALSE to the Auto Dispose Reference... Do you close the reference elsewhere in your code?  I wonder if the VI is still loaded in memory and you run it consecutively, and you are not waiting until the sub vi is done (also wired FALSE), then if your main vi stops and you restart it again, there is no way of knowing if the sub-vi's were still running.. 
 
Also, without seeing the rest of the code, I would be surprised if the bottom one actually starts later...
 
Can you also give a description of what you are trying to accomplish?
 
RayR
 
Message 12 of 13
(740 Views)

I think you're right, and i have to make true auto dispose on the second vi (on the bottom). Of course, when i call them, i close them, for that reason i wsa very surprised....

Anyway, i'll be probing it, and if i have any more problem i'll tell you.

 

Tahnks for all!!!

0 Kudos
Message 13 of 13
(731 Views)