NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

need to create an XML file in my custom format and the inputs will pass from the user

Hi,
 
I need to cerate a XML file in my custom format that base on some data from user
 
1. Have I some ready XML manipulation/processing tools for it from TestStand 3.5 ?
 
2. Can you give me the links to tutorials or examples of related material?
 
example:
 
1. User XYZ enters some data: 1 2 3 4 5
2. I process this data and after that i need to create the XML file that contains this processed data
 
*The XML file will be at my custom format
 
Thanks, to all!
Thank you & Best Regards

*I use LabVIEW 2018 & TestStand 2021 versions
0 Kudos
Message 1 of 4
(3,088 Views)
Hey Yuri,

The XML report generation is being done inside of reportgen_xml.seq through the process model.  This file is located at <TestStand>\Components\NI\Models\TestStandModels.  Unfortunately if you are going to be using your own custom XML format, you might want to just start from scratch because it can be difficult to integrate your own style sheet with the way XML reporting is being done.

I have also put a link to a good page that has lots of tutorials for XML here. Hope this helps!


Pat P.
Software Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,071 Views)

Pat,

Can i modify/customize the  reportgen_xml.seq  to suit my target, e.g. to create the needed format of my desirable XML report?

Thank you & Best Regards

*I use LabVIEW 2018 & TestStand 2021 versions
0 Kudos
Message 3 of 4
(3,058 Views)
Hey Yuri,

You should be able to use this file still, but it is probably going to require a lot of customization depending on how much your xml format differs from the default TestStand format.
Pat P.
Software Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,043 Views)