04-15-2013 10:50 AM
@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.
04-16-2013 11:23 AM - edited 04-16-2013 11:26 AM
Babu726,
Sorry about that. I have included the LabVIEW 2010 version of the VIs below. Hopefully you find them helpful.
Regards,