From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call the owning VI multiple times

Solved!
Go to solution

Hi all,

 

I'm trying to call the owning VI multiple times and wasn't sure if it's possible.I trying to call the same VI within a VI with different condition.

I have this VI as a template with reentrant enabled (VI_1), and inside the loop, it will call another instance of this template (call it VI_2) and wait until called VI (VI_2) completes and proceed to next action. The problem is wait until done doesn't wait although I set it to True. Can someone tell me what I'm doing wrong? or even this is possible.

 

Thank you in advance.

 

 

0 Kudos
Message 1 of 2
(2,069 Views)
Solution
Accepted by topic author tgif73

So the VI is calling itself?

 

If so you can drop the VI onto it's own diagram if it's set to reentrant in LabVIEW version 2009 and later.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 2
(2,044 Views)