01-09-2014
09:12 PM
- last edited on
11-05-2024
09:53 AM
by
Content Cleaner
Hello,
I am using the default stylesheet that comes with TestStand 2013 (TR5_Horizontal.xsl). Some of my test steps pass multi-line text to Step.Result.ReportText. I'm using a LabVIEW adapter, and the strings are cocatenated with the EOL constant.
Unfortunately, when I open the ATML report, the EOLs don't get printed -- the multiple lines get squashed into one long line.
How can I print multiple lines? I found a reference to RemoveIllegalCharacters in https://www.ni.com/docs/en-US/bundle/teststand/page/sections-in-xml-report-style-sheets.html but can't figure out how to use it.
Thanks in advance!
Solved! Go to Solution.
01-10-2014 08:39 AM
Hey JKSH,
This is a known issue with the ATML5 stylesheets in TestStand 2012, and we actually created a modified version of the stylesheets to implement this functionality for ReportText. See this forum thread for further information: http://forums.ni.com/t5/NI-TestStand/How-do-I-get-ATML-5-00-reports-to-show-CR-and-LF/m-p/2168346#M3...
I'm also going to attach a .zip file containing the three modified ATML5 stylesheets.
On a side note, you are on the right track with the RemoveIllegalCharacters--basically, the modified stylesheets call that function for ReportText data as it is being processed in the stylesheet.