Couldn't I put the subvi's in a true case and nothing in the false case
within the separate while loops?
Control the case using a local (....aaaah, that bad word again) from the
state machine.

Maybe it is not best programming style, but would be quick to implement in
this existing project....

Gerd


-----Ursprungliche Nachricht-----
Von: Michael Aivaliotis [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 5. Mai 2004 16:48
An: 'Paul F. Sullivan'; 'Gerd Rech'
Cc: [EMAIL PROTECTED]
Betreff: RE: More then one active Vi with open Front panel?


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