10-11-2013 07:34 AM
Hi, I'm trying run 4 SubVIs from a mainl VI at the same time. The SubVIs plotted data adquisition and the main Vl select the plot to show.
How should I do to run all without having to open it?
PD: Gráfica => Plot
Solved! Go to Solution.
10-11-2013 07:39 AM - edited 10-11-2013 07:39 AM
Hi rvenge,
you can run subVIs without showing their frontpanel. (Btw. its default to not show the frontpanel of a subVI.)
When they should run in parallel you should place them in parallel (without data dependencies, THINK DATAFLOW)! Right now you (seem to) call them in different cases of a case structure: that's not "in parallel"...
10-11-2013 07:53 AM
Since you are already using a VI reference for showing the front panel, you could use an Invoke Node to run the subVI. Be sure to set the Wait Until Done to FALSE.
10-14-2013 10:58 AM
And how I must use the invoke node?
Sorry I don't have a lot of experience with this functions
10-14-2013 11:07 AM
select application control palette - invoke node , right click, select class- vi server - vi
then select method run vi
10-15-2013 04:57 AM - edited 10-15-2013 04:59 AM
Thaks Neos.
I have an error, and I don't know how must use the invoke node or where must be used.
10-15-2013 05:12 AM
Did you use same vi's reference on its block diagram and tried to run it?
10-15-2013 05:35 AM
Yes, but I've changed it and run correctly. Thanks
10-15-2013 05:37 AM
not allergic to kudos
10-16-2013 06:47 AM
Don't work again. The same error! and I don't know why.