Forum Italiano sui Prodotti NI

cancel
Showing results for 
Search instead for 
Did you mean: 

lanciare più VI con un VI main

Solved!
Go to solution

Buongiorno

 

dovrei creare un VI main in grado da poter lanciare più VI che a loro volta si aprono e girano contemporaneamente. Ho provato a creare un main e diversi subVI, ma il problema cje riscontro e che quando clicco il pulsante, una volta che si apre il primo subVI, il VI main sembra non rispondere più, quindi anche cliccando gli altri pulsanti non si aprono i corrispondenti subVI

 

grazie mille

0 Kudos
Message 1 of 4
(4,317 Views)

Hi Ale,

 

it really would help when you write your message in English…

 


@AleAle87 wrote:

Good morning

 

I should create a main VI capable of running multiple VIs which in turn open and run at the same time. I tried to create a main and several subVIs, but the problem is that when I click the button, once the first subVI opens, the main VI seems to stop responding, so even clicking the other buttons does not open the corresponding ones subVI


It seems you created your VI(s) and followed DATAFLOW - which is good in many cases.

In this specific case you need to call VIs in parallel to your main loop to enable multiple VIs running (and opening their frontpanels) in parallel…

 

As you forgot to attach your project you need to debug on your own!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(4,300 Views)
Solution
Accepted by AleAle87

Ciao, 

 

Forse sarebe meglio scrivere in Englese.


Tu poi create while loops in parallel. Cosi gli altri VI non sono in pausa 

0 Kudos
Message 3 of 4
(4,278 Views)

Sorry, next time i will write in english. Thanks so much

Best regards

0 Kudos
Message 4 of 4
(4,262 Views)