LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what VI called the SubVi

Is there a way to know what VI called the current subvi that is running. For example I have a subvi module that is called by ~4 different VIs. I want the SubVi to know what program called it (or if noone called it and I just ran it) so that it can print this to a file when it saves the data.

 

Thanks,

 

Michael

0 Kudos
Message 1 of 3
(2,750 Views)

Just have all the callers pass their name as a string to it.  Then have it write the string to file.

Message Edited by JeffOverton on 09-18-2008 03:42 PM
Message 2 of 3
(2,746 Views)
Use the Call Chain function on the Application Control palette.
Message 3 of 3
(2,741 Views)