NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

VI and SubVI reentrant

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.

 

 

0 Kudos
Message 1 of 2
(3,116 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 2
(3,099 Views)