I need to create on application were if a step is fail must to running a windows error box, from where the user has the possibility to continue execution, with next options :
1. Next Step (the step witch will running will by the next step from current sequences, or with next sequences if the current step is the last step ) 2. Same Step (rerunning current step ) 3. Next Sequences (the next execution will by the next sequences) 4. Same Sequences (rerunning current sequences ) 5 Halt (stop execution)
For implemented this I use the callback SequencesFilePostStepFailure were I put the my error box with the facility presented upstairs.
My questions is witch is the modality to implemented this, to execute the facility Thank you, Best regards
It sounds like you are on the right track for accomplishing what you want done. I would recommend using the SequenceFilePostStepFailure Engine Callback which would first display a Message-Popup box where the user can select what option of the 5 that you listed he would like to do. I would then insert a series of Goto step types each with its own unique precondition. You can then set each precondition of the Goto steps to correspond with the appropriate button hit of the Message-Popup step. I hope that this information helps you out.
Regards, Kevin L. Applications Engineer National Instruments
To nicut - I may already know this, but you can use some of the methods on the sequence context to redirect the next step pointer, like NextStepIndex, StepGroup, GotoCleanup, SequenceFailed