I am a bit confused by the Exec.State property :
Trying to find the status of a VI, I use a continuously running loop in a Spy.vi to get the FP.Open status and the Exec.state of the spied VI, as shown in the example below.
Works fine.
Except when the spied vi is closed : the FP.Open tells that the front panel has been closed :), but the Exec.state is still "Run top level" or "Idle" depending on the state the VI was before closed :(.
Nearly sure that this should not be the right answer...
Any comments ?
Ben ?
Chilly Charly (aka CC)