LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vi included in front panel

Hi all,

I'd like to include a vi in front panel at 6 different locations (the same vi).
For that, I save the included vi with vit extension.
I open 6 references of the vit.
I execute 6 times the vit.
It's working.

But now, I'd like to use "call by reference node" to execute function implemented in this vit.
But, to use "call by reference node", I must use static reference of the vit.

But if I use static reference, I can't include the same vi into front panel more than one time.

So, is there a way to include the same vi several time in the front panel and use "call by reference node" ?
If yes, how ?
If no, is there another way ?

Many thanks in advance for your help



0 Kudos
Message 1 of 2
(2,472 Views)

"max_mont" <x@no.email> wrote in message
news:1217936409293-756841@exchange.ni.com...
> Hi all, I'd like to include a vi in front panel at 6 different locations
(the same vi).For that, I save the included vi with vit extension.I open 6
references of the vit.I execute 6 times the vit.It's working.But now, I'd
like to use "call by reference node" to execute function implemented in this
vit.But, to use "call by reference node", I must use static reference of the
vit.But if I use static reference, I can't include the same vi into front
panel more than one time.So, is there a way to include the same vi several
time in the front panel and use "call by reference node" ?If yes, how ?If
no, is there another way ?Many thanks in advance for your help


You don't have to use a static VI reference. You can use Open VI Reference,
but you'll have to wire a connector pane type definition to the top input of
the function. Use create constant, and then right click the constant to
browse to the VI. The constant will change to the VI's connector pane, and
you'll be able to wire the reference ( which is now a strict typed
reference) to the call by reference node.

Regards,

Wiebe.


0 Kudos
Message 2 of 2
(2,444 Views)