ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Know vi parent

Hello,

When I'm running a vi, I'd like to know the name of the vi from where I was called without using a command input. In other words, the name of my vi parent.

I tried to use the Callers' names propiety from "This vi" reference but I gave me all the vi's where my vi is included, not the vi from where i was called.

Thank you
0 Kudos
Message 1 of 3
(2,628 Views)
Try Application Control > Call Chain
Message 2 of 3
(2,618 Views)
Hi,
 
You should use Call Chain (Programming->Application Control->Call Chain). It will give you array with whole callers
hope it helps,
 
best regards,
Andrey.
0 Kudos
Message 3 of 3
(2,617 Views)