01-29-2016 01:42 PM - edited 01-29-2016 01:42 PM
I try to log run-time errors using a custom data logging VI in the Cleanup stage of the sequence. I caused a run-time error, which is clearly shown in the execution window but I do not see it in the ResultList. Where can I obtain the error message then? Please refer to the attached images.
I appreciate any input.
02-01-2016
09:34 AM
- last edited on
06-07-2025
06:06 PM
by
Content Cleaner
Hi,
I found some examples showing a couple of different ways to handle errors in Teststand. I think these examples will give you a good idea on how to configure your test sequence. The readme file attached to each example is also very helpful.
Link: http://www.ni.com/example/27719/en/
02-01-2016 10:37 AM
Thanks for the reply. I already took a look at the website in the meantime. I found that the error (Code, Msg & Occurred) is logged at the sequence call level while the error container for the particular step which caused the error does not hold any information. However, I need to indicate which step within the subsequence caused the error. Is there any simple way to do this?
02-01-2016 04:01 PM
I found that the error I created was rather a special case. I used a wrong variable name in the Additional Results tab to cause an error. When I tried causing an error in the precondition or limits, the error was properly saved to the step's error container.
02-02-2016 08:07 AM
Ahh. Glad you were able to figure it out!