LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Item tags with truncated ending space

I was working with a library that uses some strings as hardware descriptions to populate menu item tags and names.


Soon I encountered an error and after some debug I found that "Insert Menu Items.vi" truncates the item tag if it ends with a space.

I set the strings as "Codes Display" to point out this behaviour.

You can see that, while "item tags in" and "Item name" have an ending "\s", "item tags out" has not the final "\s"

I suppose that it is not the best practice to use such strings as tags, but I wonder if is this the desired behaviour?

 

Item tags with truncated ending space (FP).png

 

Item tags with truncated ending space.png

 

0 Kudos
Message 1 of 2
(2,814 Views)
0 Kudos
Message 2 of 2
(2,760 Views)