From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass parameter to a vi when run with reference

Hello,
i have a VI which executes another vi by opening a refernece to it and using the method "Run Vi". (see attached screenshot.
My question is now: How can i pass the parameters to the vi that is executed?

thx for the help
0 Kudos
Message 1 of 5
(2,948 Views)
Hi,
in the example finder there is a very nice example, called "plugin example.vi". This should be a good start for you Smiley Happy

greets, Dave
Greets, Dave
0 Kudos
Message 2 of 5
(2,945 Views)
But when use the "call by reference"-style then i dont have the option "Wait until done = FALSE" anymore.
Currently i just pass the parameters with a global variable.
0 Kudos
Message 3 of 5
(2,941 Views)
Can you solve this problem with a second independent loop? Like producer-consumer style...
greets, Dave
Greets, Dave
0 Kudos
Message 4 of 5
(2,936 Views)
Did you try out with the Get/Set Control Values methods ? I think it ll suffice.
- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 5 of 5
(2,926 Views)