NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Write XML results to database post process

Hi,

 

One of our guys turned off the database option in the result processing configuration and it stayed off for a few weeks. Is there a simple way to load the results in our XML files to the database or do I need to start writing some code?

 

Our reports are XML files using the horizontal schema.

Database is the NI Generic Recordset

 

Thanks,

 

Curt

0 Kudos
Message 1 of 3
(2,573 Views)

Unfortunately you'd need to write some code.  Ugh that sucks.  One thing you might want to do to future proof this is to override the report/database options callbacks and check the settings. If they aren't set correctly then warn the user or terminate testing.

 

What version of TestStand are you using?  In versions that use plugins you can turn on the raw results plugin.  These can be processed in the way that you are describing.  I always have them on because then I can write any plugin or use any plugin down the road and regenerate whatever report/database log I want.

 

Regards,

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

Hi Jigg,

 

Thanks for the help. I was afraid that was going to be the answer.

We're using 2012 on these stations. I've already started doing what you've suggested with the overrides.

 

Curt

0 Kudos
Message 3 of 3
(2,516 Views)