NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Delete results if user wishes to repeat the last test

Solved!
Go to solution

Hi,

I am trying to set up a user pop-up to ask them if they would like to repeat the last test that failed. If so... delete the result and run the sequence again.

Can anyone see what I'm doing wrong?

 

Chris

Download All
0 Kudos
Message 1 of 8
(4,182 Views)
Solution
Accepted by topic author beam7

Have you seen this example?  Does it work for you?

 

http://www.ni.com/example/27153/en/

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 8
(4,166 Views)

That works...

Thanks jigg

0 Kudos
Message 3 of 8
(4,138 Views)

Hi Jigg,

 

I have put tried the link you sent me and made a *.seq but it fails the overall result if i fail one of the tests, retry and then pass on 2nd attempt

 

can you see what I am doing wrong

 

(For some reason i had to re-name the *.seq to *.VI so you would need to rename it back) 

Thanks

 

Chris

0 Kudos
Message 4 of 8
(4,051 Views)

sorry for some reason it will not let me send the seq

will carry on trying...

0 Kudos
Message 5 of 8
(4,049 Views)

you will need to rename the file to retry.seq

0 Kudos
Message 6 of 8
(4,048 Views)
Solution
Accepted by topic author beam7

Add this to your PostExpression of the Message Popup Step in your SequenceFilePostStepFailure callback:

 

RunState.Caller.SequenceFailed = (Step.Result.ButtonHit == 2)

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 7 of 8
(4,038 Views)

Thanks Jiggawax

0 Kudos
Message 8 of 8
(4,004 Views)