06-22-2009 06:21 AM
Hi,
My main VI opens the panel of several subVIs during its run. In a specific moment, how can I know which subVI is the top window/panel?
Yifat.
06-22-2009 07:59 AM
from the Help:
Returns the chain of callers from the current VI to the top-level VI. Element 0 of the call chain array contains the name of the lowest VI in the call chain. Subsequent elements are callers of the lower VIs in the call chain. The last element of the call chain array is the name of the top-level VI.
If you are using the current VI as a subVI, you can use this function to identify all the VIs that call the subVI.
06-22-2009 08:30 AM