03-17-2010 12:10 PM - edited 03-17-2010 12:15 PM
What is the best way to do a Multitest Program?
By example to create a VI to do 10 diferent test in order, when test is finished, don't stop VI, wait until put a new unit, click next/ok buttom and test.
any body have a template or the owner test setup?
here is mine...
03-17-2010 12:57 PM
The use of the sequence structure is, imho, a fatal flaw. It should rarely be used and never in tests and never inside an event structure. What happens when test 2 fails? In your design, it has to proceed to all other frames and run that code. Event structures should contain code that executes quickly. That is why you see recomendations to not have while loops inside an event.
You would be far better off adopting a state machine architecture where it is separate from the event structure but started when an event fires. You could easily handle failures and branch to a cleanup/stop state. You should also consider using shift registers to keep the status and progress instead of those local variables.
03-17-2010 01:04 PM
I agree with Dennis. However, I do think that the GUI looks pretty nice.
Yik