NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

String output with \t\n

Solved!
Go to solution

Hi,

 

I'm trying to add my string output to the report and the string output is something like this...."...\t\n, akfjdakjf\n, jaiejfiaje\n". When the string output is displayed in the report, it displays everything in one line (makes a long single line). I'd like the report to show like below..

ajkfj

ajfkd jkjfka

fjka

 

Really appreciate the help. Thanks~

0 Kudos
Message 1 of 2
(3,074 Views)
Solution
Accepted by 1234546111123

Could you please show us how you write the text into the report?

 

Please note that if this is a string variable you pass on, the '\n' is a static string and not evaluated in regard to escape characters. So if you want to have a new line there, the variable itself has to include the new line, not the '\n'-"command" for a new line.....

Hint: if you need a manual new line, you can insert one pressing Ctrl+Enter....

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(3,058 Views)