LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I know what "Call by Ref #X" means in the VI Profiler?

Solved!
Go to solution

When using the VI profiler, I sometimes see this underneath a VI when I double-click on the name to expand the timing details:  (see screenshot)

 

"...Call by Ref. #2"

 

What does that mean?

 

I have a code snippet attached showing the particular VI highlighted in the screenshot.

 

Note that I am using dynamic dispatch VIs to call the various functions.  I have a feeling that is the "call by ref", but how do I know which one is #1, #2, etc?

 

Thanks for any help.

Download All
0 Kudos
Message 1 of 3
(2,347 Views)
Solution
Accepted by topic author rothloup

Hi Rothloup,

 

The easiest way to identify the VI is to right-click on the instance (e.g. Ref #2) and select "Find Calls in this VI".

 

This will highlight that specific VI on the block diagram allowing you to reference it. For me, they appear when I am using a Call by Reference node.

Joey S.
Senior Product Manager, Software
National Instruments
Message 2 of 3
(2,321 Views)

Perfect, thank you!

0 Kudos
Message 3 of 3
(2,313 Views)