Forum Italiano sui Prodotti NI

annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

lanciare più VI con un VI main

Risolto!
Vai alla soluzione

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
Messaggio 1 di 4
2.148Visualizzazioni

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
Messaggio 2 di 4
2.131Visualizzazioni
Soluzione
Accettato da autore argomento 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
Messaggio 3 di 4
2.109Visualizzazioni

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

Best regards

0 Kudos
Messaggio 4 di 4
2.093Visualizzazioni