Warren Massey wrote in message
news:38cd5c40@newsgroups.ni.com...
> Can a vi tell if it was called (perhaps through the use of something akin
to
> the property node) or else is running as a top-level vi?
>
> Note that this would have to work even in the presence of memory-resident
> callers of the vi that were not running (this precludes the use of the
> property node "callers" data item).
As well as using property nodes, you can also use the "call chain" function;
this simply returns an array of VI names from the vi back up to the top
level. If the array has a size of 1, then you are the top level.