ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Go to new line with RT Debug String

Solved!
Go to solution

Hi all, is it possible to go to a new line using RT Debug String.vi?

 

Thanks,

 

Claudio

0 Kudos
Message 1 of 7
(3,329 Views)

Hello Claudio,

 

if you go in Help under Index and search for °backslash codes display° you will find all the possible characters you can use.

The caracter you have to use is \n, for new line. 

I found this information in the following link, that can be useful for you:

 

Can I Erase Characters Written Using Debug String?

http://digital.ni.com/public.nsf/allkb/71FA42B0BFAE6EB186256D98004D02D9?OpenDocument

 

Saluti,

Antonios
0 Kudos
Message 2 of 7
(3,310 Views)

Hi, I have tried this solution, but using special characters "\r" as the same effect of carriage return (from String palette) I've used before.

I write one string concatenated with "\r" and then I write a second string: the second write overwrite the first.

Is it possible to solve this issue?

 

Thanks,

 

Claudio

0 Kudos
Message 3 of 7
(3,305 Views)

Yes, you can use a Build array (under Programming ->Array), and every new string you write will be added to the next slot of the array. Did you try that?

Antonios
0 Kudos
Message 4 of 7
(3,303 Views)

How can I use an array as input for RT Debug String?

0 Kudos
Message 5 of 7
(3,299 Views)
Solution
Accepted by hex_cro

you are right, i misunderstood. have you tried to use the "\n" as it is explained in the help ? 

 

Antonios
Message 6 of 7
(3,297 Views)

Can you take a look in the attached vi? Is this what you need?

Antonios
0 Kudos
Message 7 of 7
(3,293 Views)