LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to align the 2D text in string indicator

I have 2D string array.

And i had to convert to string indicator.When i convert that by using array to spreadsheet all the alignment will run out and the the capital word and small letter word also run out even they have same length of the word.

 

Have any solution to align the string column by column in the string indicator.

 

Note:Only use string indicator.

 

0 Kudos
Message 1 of 6
(3,418 Views)

Please show us what your array looks like and what you want the result in the string indicator to look like.  It is somewhat difficult to tell exactly what you want from your description.

 

Lynn

0 Kudos
Message 2 of 6
(3,413 Views)

I need this kind of arrangement no matter how long the lenght of string

 2.JPG

 

1.JPG

And the problem is the small letter a and capital letter A even they have same string length .the alignment also run out.

0 Kudos
Message 3 of 6
(3,407 Views)

Use a font for the indicator that is mono-spaced such as Courier.

Message 4 of 6
(3,395 Views)

Thank RavensFan

Have any idea to limit the length of each coloum.

 

0 Kudos
Message 5 of 6
(3,377 Views)

Hi wpg,

 

look at the string formatting codes and choose something like "%10s"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(3,367 Views)