02-10-2012 06:55 AM
I developed some step types for TestStand in labview. Now I have an application where I need to use parallel process model. I guessed to set the step type as "reentrant". Here it is my issue. For setting a VI reentrant also its subvi have to be reentrant? This is a problem for me because the step type include a lot of VI.
Is there an alternative solution in TestStand or in Labview?
Thanks a lot.
02-13-2012 02:04 AM
If you want to have complete concurrency, you have to set ALL VIs in the hierarchy to be reentrant.
The default is non-reentrant because if you use shared resources (hardware interfaces, certain software interfaces/variables) setting the VIs to be reentrant, you will introduce race conditions.
Race conditions do act "sporadic" and therefore are hard to debug, annoying if occurring and can lead to severe issues with the whole system.
hope this helps,
Norbert