02-19-2014 12:54 AM
Hello
I am using LabVIEW 2012
I modified the example "Reentrant Panels.vi" that comes with LabVIEW such that using Event structure instead of Case, but it does not work as if the main panel waiting the clone VI to finish.
Is there any thing wrong in my work?
I attached the example and the modified one.
Best regards
Amr Hendy
02-19-2014
01:02 AM
- last edited on
05-16-2025
01:51 PM
by
Content Cleaner
Hi!
The main panel IS waiting for the reentrant VI to finish.
It seems what you need is calling the VI asynchronously.
Give a look here for more infos: https://www.ni.com/docs/en-US/bundle/labview/page/asynchronously-calling-vis.html
Regards,
Marco
02-19-2014 11:09 PM
Hi,
Thank you very much for the valued information you sent
I am asking about the different of the two VIs I sent, do you think that it comes from a bug in the LabVIEW system? because I changed the caller VI only not the sub VI.
Regards
Amr
02-20-2014 06:41 AM
Hi.
The event structure is waiting for the subvi to exit before processing the next event.
This is not a bug, but a feature.
If you want to launch the subvi and let it run while doing other stuff in the main vi, you should follow the istructions given in the link given above.
I hope I've understood correctly your issue.
Regards,
Marco
02-22-2014 10:48 PM
Hi,
Thanks alot dear Marco,
Best regards
Amr