LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Processing Teststand xml report with labview

Hello,

I would like to build a tool (using Labview) to analyze the test protocols generated with teststand. I am interested on extracting the  name of the test step which caused an error on my sequence. Could anybody tell me how I can do this?

 

For example, in the test protocol shown, I would be interested on extracting that my test failed at [6]_Led_Test, and I would also like to extract that it failed at the test step Test_ButtonPressed_PASS. The problem is that I do not see how. I would be able to find looking by the tag "CriticalFailureStack" the sequence where it failed, but I do not see how I can find the test step where it failed. Has anyone a solution?

 

capahlmh1985_0-1678887706553.pngcapahlmh1985_1-1678887733269.pngcapahlmh1985_2-1678887772907.png

capahlmh1985_3-1678887817792.png

 

 

0 Kudos
Message 1 of 4
(730 Views)

Hi capahlmh,

 


@capahlmh1985 wrote:

I would be able to find looking by the tag "CriticalFailureStack" the sequence where it failed, but I do not see how I can find the test step where it failed. Has anyone a solution?


Do you even log/report the steps within the sequence?

They only appear in the report when you enabled logging for all steps…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(725 Views)

"Do you even log/report the steps within the sequence?

They only appear in the report when you enabled logging for all steps…"

 

Hi, yes sure I enabled logging for the step I am looking for. It is possible to see it in the protocoll 🙂

0 Kudos
Message 3 of 4
(699 Views)

Hi capahlmh,

 

mind to attach the complete report (in a ZIP file)?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(694 Views)