LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What's the Purpose of the Call Chain Function?

I'm using NI Vision Assistant to create LabVIEW code and it starts by running this function:

another_novice_0-1659107303991.png

I don't understand what Call Chain does and why I would use it. Can someone educate me please?

 

 

0 Kudos
Message 1 of 4
(1,064 Views)

Right click on the block diagram object and select help and you will get this:

 

Jay14159265_0-1659108128771.png

 

Also you can put a probe on the wire and see its output, sometimes doing that tells you all you need to know. 

 

In this context it is getting the name of the VI that is calling it.

 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 2 of 4
(1,051 Views)

I appreciate you taking the time to reply. I can see what the function does, what I don't understand is why I would want to use it. What is it's purpose?

 

0 Kudos
Message 3 of 4
(1,020 Views)

Why don't you click on the subVI and see what it does with this string input. 😄

 

The call chain can be very useful!. For example if an error occurs in a subVI that is called from many different other subVIs, it could be useful to know who called it. 😄

0 Kudos
Message 4 of 4
(1,017 Views)