NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Run-time error not shown in ResultList

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.

Download All
0 Kudos
Message 1 of 5
(4,357 Views)

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/ 

 

James F.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(4,293 Views)

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?

0 Kudos
Message 3 of 5
(4,289 Views)

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.

Message 4 of 5
(4,271 Views)

Ahh. Glad you were able to figure it out!

James F.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(4,257 Views)