LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access data from a SubVi to the MainVi while the SubVi is still Running


@babu726 wrote:

 

I want to use my subvi in the main vi. That is the main problem. So the main vi is waiting for the subvi to finish and then get any output from that.


This is how subvi's work.  The main code will not continue until the subvi stops.  if you want the two pieces of code to run in parallel, you can use Functional Global Variables to pass data between the two, or use a Queue to pass the data.

0 Kudos
Message 11 of 12
(299 Views)

Babu726,

Sorry about that. I have included the LabVIEW 2010 version of the VIs below. Hopefully you find them helpful.

Regards,

Michelle G
Applications Engineering
National Instruments
Download All
0 Kudos
Message 12 of 12
(279 Views)