NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i handle errors in my post step failure callback? The post step runtime error callback will not work with Post step failure callback

Solved!
Go to solution

Hi,

 

I use post step failure callback to handle failures in my sequence. The post step failure callback sequence has lot of steps in it. I realized that other callbacks like post step runtime error callback and Post result list enrty do not work for steps in Post step failure callback. Any suggestions for handling errors in the post step failure callback?

 

Also i have to generate a report for steps in the post step failure callback. How do i do this?

 

Thanks,

Ananthi

0 Kudos
Message 1 of 4
(4,644 Views)

Hi Ananthi,

 

The attached example demonstrates how to add the contents of PreStep and PostStep callbacks to the report.  You can use this logic for the post step failure callback.

 

Let me know if you have questions.

 

 

Message Edited by J_Stape on 02-20-2009 06:42 PM
Jessica
National Instruments
Product Support Engineer
0 Kudos
Message 2 of 4
(4,613 Views)
Solution
Accepted by topic author ananthi_g

Thanks for your response. I use developed a similar approach for reporting. I use the Locals.Resultlist property of the seq file post step failure callback to accumulate the results and have a LabVIEW VI in the clean up step group for pulling out the results from the locals.Result List and writing to an excel file.

 

Thanks,

Ananthi

0 Kudos
Message 3 of 4
(4,569 Views)

To Handle run time errors in the Post Step failure Callback, i select ignore run time errors for each step in the Post step failure callback and put a post action in each step "Step.Result.Status==Error" Goto "Error Handling Section" where i do the custom Error handling for my sequence.

 

Thanks,

Ananthi

0 Kudos
Message 4 of 4
(4,566 Views)