08-02-2005 05:34 PM
08-02-2005 07:57 PM
Instead of opening and closing vi's, just create one main vi with a state machine architecture. Search for examples on state machines to get a basic understanding of them. This is pretty complex so I have written an example of how this could be accomplished. The trick part was the 2 minute timer (my vi is set for 5 seconds for quick testing). Each state produces a question, and depending on the answer, the next state is inserted into a queue. You can add more states for more questions and answers. Notice that the boolean buttons can be hidden if you just want to show one button (like Next) instead of two buttons (Yes and No). Study the vi and let me know if you have questions.
08-02-2005 08:32 PM
08-03-2005 11:10 AM