09-09-2016 04:21 PM
How can I add some text to the report header as an extra line; do I need to use a callback? I am currently using the ATML results option in TestStand 2010.
09-12-2016 07:04 AM
Hey Steve,
Is this what you are looking for?
http://digital.ni.com/public.nsf/allkb/F8243CE782AFF42086256E62006B3FC1
Kind Regards,
Natalia
09-19-2016 02:42 AM
Thanks that works great for text, but unfortunately not for XML; has anyone got an XML example of adding an extra line to the header?
09-19-2016 03:56 AM
Hi Steve,
Have a look at this Knowledge Base page - it should cover what you're looking for:
How to Modify a TestStand XML Report Header
Regards,
Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)
Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor
09-20-2016 02:44 PM
Yes this is what I was after, though I tried this without success. I could not get the following code to work: Parameters.ReportHeader += Locals.CustomText.GetXML(XMLOption_NoOptions, 0, "CustomText", Parameters.ReportOptions.NumericFormat). I am not sure what the last parameter is doing, what does it have to change to if I just want a line of text? All I want to do is add a line of text (XML format) to the header, is there an example of this?