Hi guys,
Under TestStand 2.0.1f1, go to Configure->Station Options, and look at the On Run-Time error menu ring. It contains 4 items as follows :
Show Dialog (0)
Run Cleanup (1)
Ignore (2)
Abort (3)
(I'll explain the numbers here in a minute)
If you then look at the Engine property RTEOption, you have the following
RTEOption_Abort - (Value: 3)
RTEOption_Continue - (Value: 1)
RTEOption_Ignore - (Value: 2)
RTEOption_Retry - (Value: 4)
RTEOption_ShowDialog - (Value: 0)
If I create an action step that uses the above RTEOption, run it, and then look at the Station Options again, I see the marked (the number next to the item done earlier) in the Menu Ring.
The problem is, the two don't match up, i.e. if I set a 1, whic
h is continue, I see Run Cleanup, and depending on the previous setting, I can get the dialog to show, or contiinue straight on.
So what are the additional things that need setting along with RTEOption that give you a true RunCleanup?
I know the best architecture is to use the callbacks for either SequenceFilePostStepRunTimeError or ProcessModelPostStepRunTimeError, but then you need a way of forcing the enxt step to enter the cleanup step group, and if the Station Option hasn't been set correctly, it'd be nice to force it.
Thanks
S.
(This came about whilst answering a question at http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000F35B0000&UCATEGORY_0=_8_&UCATEGORY_S=0
and I was trying to force the Run Cleanup option.)
// it takes almost no time to rate an answer