LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

slave vi

Hello everyone,

 

I have the followinf scenario:

 

I have a subVI "C" that gather all the signals.

I have two mainVIs "A and B" that process the signal from C.

 

The problem that I am having is:

Everything runs fine, but at the moment that I close either main VI, the other one stop working. in tother words, if I close A, B stop working.

 

What I am seeing is that:

Anytime that I close A or B, C is also forced to close and therfore the other mainVI stops working.

 

Is there a work around this? and if I build and .exe file will it happen the same?

 

Thanks,

 

Rod

 

 

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

Do you have a screenshot, or some code? not sure about what you ment, you have two separate VIs that both share the same subvi?

 

Does this subvi (C) of yours need to collect data continiously from hardware and share it with to two other VIs (A & B)?

0 Kudos
Message 2 of 3
(2,305 Views)

Hey Rod,

 

What you are describing is certainly unusual. Some screen shots or example code would be helpful. What code is contained in the subVI, are you acquiring data from a shared resource? Is the VI you are using reenterent?  Is this behavior you are describing unique to these two higher level VI's; i.e. if you use this subVI in a third V, do you see the same behavior?

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 3 of 3
(2,263 Views)