LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Key(String).vi and spaces

Hello all,

I am having some trouble with the Read Key(String).vi. One of the strings I am reading in ends in spaces. This vi seems to want to truncate any trailing spaces. I don't want it to do that. Is there anyway of modifing the vi to not truncate spaces? Or should I not allow spaces to be written?

Thanks in advance,
Glen
0 Kudos
Message 1 of 2
(2,604 Views)
I haven't dug very far into the config file VIs but the easiest thing to do is to enclose all of your strings with quote marks ("). If you do that, key values with trailing spaces are read correctly.
Message 2 of 2
(2,604 Views)