LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous running of multiple SubVIs

Solved!
Go to solution

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

Download All
0 Kudos
Message 1 of 17
(4,954 Views)

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"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 17
(4,953 Views)
Solution
Accepted by topic author rvenge

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 17
(4,946 Views)

And how I must use the invoke node? 

Sorry I don't have a lot of experience with this functions

0 Kudos
Message 4 of 17
(4,899 Views)

select application control palette - invoke node , right click, select class- vi server - vi

then select method run vi

0 Kudos
Message 5 of 17
(4,891 Views)

Thaks Neos.

I have an error, and I don't know how must use the invoke node or where must be used.

 

0 Kudos
Message 6 of 17
(4,853 Views)

Did you use same vi's reference on its block diagram and tried to run it?

 

 

0 Kudos
Message 7 of 17
(4,848 Views)

Yes, but I've changed it and run correctly. Thanks

0 Kudos
Message 8 of 17
(4,839 Views)

not allergic to kudos

Message 9 of 17
(4,837 Views)

Don't work again. The same error! and I don't know why.

0 Kudos
Message 10 of 17
(4,801 Views)