04-02-2008 02:49 PM
04-02-2008 03:06 PM - edited 04-02-2008 03:08 PM
The short answer is yes... most of the time.
Your primary concern with doing this will be memory allocation and use. For instance, if the VI uses a huge block of memory to complete its task, even if the task itself is trivial, reentrant execution would not be a good thing.
Another concern would be whether the VI accesses memory/variables outside of itself, such as globals etc. As long as it does not write to global variables, or the writing is controled with a semaphore or similar, you should be ok.
The way I understand reentrant, the way it handles memory is the main difference between it and a regular vi. They allocate a separate memory space for each execution of the vi, which is why it can execute in parallel.
Hope this helps,
04-02-2008 03:31 PM
04-03-2008 04:01 PM