03-04-2009 10:38 AM
So you are saying that every wait step should have its own frame in the stacked sequence??? Such as you were saying in frame 4 apply 12V to machine in one frame, then the next frame is just wait 1.5 seconds, and then move on to the next frame??? I dont understand why you guy are all bashing the stacked sequence because everything I want it to do is working just I would like to clean it up with all the LEDS, how do I have just one LED for each ACC Cold, Ignition, and 12V machine(console) that can be activated when needed from sequence to sequence??? If you guys suggest using a state machine can you send me a very simple version that I can try to work off of...I found an example from the examples developed by NI but it kind of confuses me. Ill attach that example too and maybe someone can edit that for me or try to explain it.
03-04-2009 10:46 AM
Have you considered what to do if, for example, test frame x fails and you want to skip the rest of the tests? Have you considered what to do if you get some sort of error, want to clear it, and restart again from where the error happened? The stacked sequence structure is completely infexible. Once started is has to run each and every frame and in a completely fixed manner.
What exactly is your question about the example. It's actually one of the simpler ones.
03-04-2009 10:50 AM
03-04-2009 11:17 AM
The logic is actually pretty simplified.
In a more complex test sequencer, it can be much worse.
All the logic does is stop the while loop if all of the tests have been executed or stop if a failure occurs AND the Stop on Fail button is true. The property node is just used to get the number of tests to perform. This VI is a bit different than the shipping example but the principle is the same.
03-04-2009 11:24 AM
03-04-2009 01:40 PM
03-04-2009 02:32 PM