LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

invoke node

Ciao a tutti, sono un principiante con LabView.
Voglio fare un'interfaccia che contenga una parte ripetuta piu' volte: penso si debba usa invoke node; ho iniziato con un semplice esempio.
Base.vi: contiene un integer input and un integer output collegati tra di loro. Questi due widjet devo essere visibili sull'interfaccia principale
Top.vi: usa Load.vi per generare il reference of Base.vi
Run.vi: passa i parametri a Base.vi
Nell'esempio che allego, per semplicita', ho inserito solo un'instanza di Base.vi...ma anche cosi' non funziona
0 Kudos
Message 1 of 9
(3,489 Views)
Hello,

I'm sorry I don't understand italian... Could you try to ask your question in english ?
Or maybe you should repost your question here, on the italian community


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 9
(3,483 Views)
Ciao a tutti, sono un principiante con LabView.
Voglio fare un'interfaccia che contenga una parte ripetuta piu' volte: penso si debba usa invoke node; ho iniziato con un semplice esempio.
Base.vi: contiene un integer input and un integer output collegati tra di loro. Questi due widjet devo essere visibili sull'interfaccia principale
Top.vi: usa Load.vi per generare il reference of Base.vi
Run.vi: passa i parametri a Base.vi
Nell'esempio che allego, per semplicita', ho inserito solo un'instanza di Base.vi...ma anche cosi' non funziona
 
Hi All, I'm beginner using Labview.
I want an UI thant contains more istances of a single part: I think I have to use a "invoke node"; I started with a simple example.
Base.vi: it contains un integer input and an integer output likend one to the other. These two widjets are visible in the main UI.
Top.vi: it's the main UI; it uses Load.vi to generate the reference of Base.vi
Run.vi: it gives the parameters to Base.vi
In the example in attachment, in a simple way, I inserted only one istance of Base.vi...but it does not work.
 
0 Kudos
Message 3 of 9
(3,470 Views)
Hello,

I am not sure if this is exactly what you want but I think it works. Let me know if it's ok for you.

I changed the settings of Base.vi, if it is set as reentrant, the subpanel won't work because there will be 2 instances of the vi in the memory.

I hope this will help you 😉



We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 4 of 9
(3,463 Views)

thank for your help TiTou....but... you did not find the problem.

If I modifie the input of the Top.vi (outside the SubPanel) I would like see the same value in the output (outside the Subpanel); because the Basei.vi

is a cc between the input and the output; so at each time all widjects should have the same value.

0 Kudos
Message 5 of 9
(3,457 Views)
Smiley Indifferent

Is it not what is happenning ??? When I change the value of "input" outside of the subpanel, a short time after, the 3 other controls get the same value. Is it not what you want ?


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 6 of 9
(3,455 Views)

Yes, sorry, IT'S PERFECT. Maybe I did an error in starting the Top.vi.

Thank you a lot.

0 Kudos
Message 7 of 9
(3,450 Views)
You're welcome !

by the way, I am french Smiley Tongue
I am not really a football (I mean soccer) fan but I hope we'll have a nice final this sunday, may the best team win 😉



We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 8 of 9
(3,445 Views)

I used your architecture with my project, and it works well.

               But:

If a want add a new Sub panels with a Base.wi,

this message is showed:

LabVIEW:  Cannot open VI because it is already in a subpanel control.

In attachment there are 2 examples:

1) Top.vi: it works weel (1 sub Panel)

2) Top2.vi does not work (2 sun Panels)

Thank you for your help.

0 Kudos
Message 9 of 9
(3,330 Views)