02-06-2017 08:09 AM
The VI execution system has to handle lots of calls to subVIs that run for nanoseconds, so it can't afford the overhead of recording when it is actually running (at least, that is my understanding). So not really a bug. Though, it would be a good idea to that enum item from "running" to "reserved for running", to avoid confusion.
Personally, I use Queues created inside the dynamically-called VI to monitor whether it is still running or not, as references like Queues are automatically destroyed when a VI execution hierarchy stops running.
02-07-2017 10:15 AM
Well, if you really must do something that silly, see the attached VIs.
Note however, that when the VI reference is opened, the state of the VI will become "running" and will stay that way until the reference is closed.