11-01-2004 03:10 PM
11-01-2004 03:33 PM
11-02-2004
01:44 PM
- last edited on
11-26-2025
03:04 PM
by
Content Cleaner
Hello �
A different approach to John�s suggestion is to use a queued state machine. If you use an event structure you can �miss� events if these happen while you are still executing a piece of the code due to a previous event. With the queued state machine you can set the stage you want to go next, and you don�t have to worry about missing events.
Take a look at the following link to learn more about state machines in LabVIEW:
Application Design Patterns: State Machines.
A different architecture would be to use a sequence structure to make sure your program follows the order of execution that you want (Configure � Acquire � Analyze � Present).
This way you can guarantee that you will not go to Acquire before the Configuration has been done.
Hope this helps.
S Vences
Applications Engineer
National Instruments
11-02-2004 03:27 PM
11-04-2004 02:11 PM