LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a VI refnum

Solved!
Go to solution

@cbutcher wrote:

Not to be contrary, but either I'm misunderstanding (certainly possible) or what you're saying is not true.

 

Attached is a 2017 project with two VIs, "Caller.vi" and "Callee.vi" in which the caller uses almost exactly (i.e. without Queue and Case Structure) the same code to call "Callee.vi", which is set to Open when called.

 

Running Caller opens Callee and you can see the inputs correctly passed. Since there is no wait for results, the results are visible but irrelevant to the caller.


You're right. It seems to work as expected when using Call By Reference. I was mistakenly thinking that CBR would act the same as Run method. So, CBR opens\closes the FP automatically when configured, Run method doesn't.

0 Kudos
Message 11 of 11
(791 Views)