08-11-2009 04:11 AM
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.
Solved! Go to Solution.
08-11-2009 04:27 AM
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
08-11-2009 05:03 AM
08-11-2009 05:47 AM
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
08-11-2009 07:43 AM
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
08-11-2009 08:40 AM
Thanks.
Is labview automaticaly setting the sub VI as reentrant if I set reentrant the main VI.
Daniel.
08-11-2009 08:48 AM
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