How do you suggest that the subvi's get called? What method would you use to command 
the subvi's from the state machine? Just
curious...

Michael Aivaliotis

> Gerd,
> 
> You asked,
> 
> >...The main VI is basically a state machine waiting for user 
> clicks to 
> >go to one of the sub VIs, which e.g. displays a xy chart of 
> >measurements... How can I get the main VI to commence working (not 
> >waiting for the chart window to complete and return)?
> 
> Michael responded,
> 
> >You will have to use VI Server to do this...
> 
> While Michael's approach will work and is probably preferable, I 
> think you might also accomplish the same thing by putting each of 
> your selectable subVIs in its own loop parallel to the state machine 
> loop. Use the state machine to enable the execution of the 
> appropriate subVI for one iteration of the subVI's loop. One loop 
> being held up until its subVI closes will not interfere with any 
> other loop, including the master state machine's.
> 
> -- 
>       EnWirementally,
>       Paul F. Sullivan



Reply via email to