LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

complete a recursive operation on subVI after clone a VI

Solved!
Go to solution

Hello. I use Labview 8.5.

I want to make a reentrant execution on a VI (clone).  This VI has several subVI. I 'd like to know if I have to place a checkmark into the reeentrant execution  checkbox of every subVI or if the option is automatically done. In other words, my Vi has many subVI so, this working is long if i have to do that manually.

 

Thanks, Daniel.  

 

0 Kudos
Message 1 of 7
(3,741 Views)

Hi Daniel,

it's not automatically done for sub vi's and you don't want it. If you want to exchange data between your instances, then you maybe would use action engines and they only work if they are not reentrant.

 

Mike

0 Kudos
Message 2 of 7
(3,738 Views)
thanks. a last question, Is it necessary to place a checkmark into the reeentrant execution checkbox of every subVI so that the main VI works correctly? Daniel
0 Kudos
Message 3 of 7
(3,721 Views)

Hi Daniel,

it depends on what you want to do. If these sub vi's need a lot of time to execute, then you should make them also reentrant, but only if you don't want to exchange data using them. I think it's not necessary for short execution times.

 

Mike

Message 4 of 7
(3,716 Views)
Solution
Accepted by topic author daniel_blanzat

daniel blanzat wrote:
thanks. a last question, Is it necessary to place a checkmark into the reeentrant execution checkbox of every subVI so that the main VI works correctly? Daniel

NO.

 

Only those that are called re-cursively need to be set as re-entrant.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 7
(3,707 Views)

Thanks.

Is labview automaticaly setting the sub VI as reentrant if I set reentrant the main VI.

Daniel. 

0 Kudos
Message 6 of 7
(3,701 Views)

daniel blanzat wrote:

Thanks.

Is labview automaticaly setting the sub VI as reentrant if I set reentrant the main VI.

Daniel. 


 

No. I would be very iritated if it did.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 7
(3,698 Views)