06-19-2008 08:59 AM
Test Stand 3.1
When a step fails I use SequenceFilePostStepFailure Callback.
In there I have prompt:
1. Continue
2. Terminate
3. Terminate (thus calling a power down sequence file)
Problem is that when Option 3 is used. There are no results recorded from that sequence call because it was invoked from the Callback.
How do I force record results when that sequence file is called?
06-22-2008 02:46 PM
06-25-2008 09:34 PM
Hello Jaws8you,
After looking into this issue further, it appears as if the link I posted has some great information but is not an exact fit for your particular situation.
Because results from sequence callbacks will not populate in the report, we need to make sure and have any results we would like included in the main sequence.
In your case we are just going to put the sequence call in the "Clean Up" tab, which will report the data, and is good programming practice. 
So to fix this problem, let's go ahead and try this: 
1.) Change the variable "Locals.ButtonPressed" to FileGlobals.ButtonPressed in the locations that you have it so far 
2.) "Cut" the "Call Main Power Down" sequence call from the "SequenceFilePostStepFailure" step, and copy it to the "CleanUp Tab" of "Main Sequence" 
Basically, that should be it. What this will do now is run the "Call Main Power Down" sequence when button 3 is pressed and skip this step whenever button 1 or 2 is pressed. The result is then published in the report. 
This should work out the best for you, thanks for posting and have an awesome day!
06-26-2008 07:57 AM
06-27-2008 10:10 AM
Good Morning Jaws8you,
It looks like what we could do here is make a top level sequence file that calls the sequence you are using currently but take any steps you would like to after the randomsequence call and put them after the call in the top level sequence.
This should prevent the unacceptable behaviour you are seeing.