<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic strings and white space in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596148#M581237</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm doing some string manipulation and have&amp;nbsp; found a feature of labview I need to get around.&lt;/P&gt;
&lt;P&gt;I appears that Labview does not consider a space as part of a sting but a delimiter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a consequence I find that the Path vi only returns the path up to a space in the name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I also wish to append a string with a space to another string. I find that if the first string has a space in it, only the first part is appended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've looked at a few tutorials but can't find anything to help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone shed some light on how to include spaces as part of the string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2011 08:04:41 GMT</pubDate>
    <dc:creator>AndyNC</dc:creator>
    <dc:date>2011-06-13T08:04:41Z</dc:date>
    <item>
      <title>strings and white space</title>
      <link>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596148#M581237</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm doing some string manipulation and have&amp;nbsp; found a feature of labview I need to get around.&lt;/P&gt;
&lt;P&gt;I appears that Labview does not consider a space as part of a sting but a delimiter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a consequence I find that the Path vi only returns the path up to a space in the name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I also wish to append a string with a space to another string. I find that if the first string has a space in it, only the first part is appended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've looked at a few tutorials but can't find anything to help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone shed some light on how to include spaces as part of the string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 08:04:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596148#M581237</guid>
      <dc:creator>AndyNC</dc:creator>
      <dc:date>2011-06-13T08:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: strings and white space</title>
      <link>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596160#M581239</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/190742"&gt;@AndyNC&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I'm doing some string manipulation and have&amp;nbsp; found a feature of labview I need to get around.&lt;/P&gt;
&lt;P&gt;I appears that Labview does not consider a space as part of a sting but a delimiter.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;What your saying seems false. What is your LabVIEW version? What is your OS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/190742"&gt;@AndyNC&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;As a consequence I find that the Path vi only returns the path up to a space in the name.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I am not familiar with Path.vi. Can you tell us where you found it and possibly attach it? Earlier you talked about strings, but now you are talking about paths. I assume you are aware that they are not the same in LabVIEW.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/190742"&gt;@AndyNC&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I also wish to append a string with a space to another string. I find that if the first string has a space in it, only the first part is appended.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Again, that is not correct. Please attach an actual VI example that demonstrates the problem.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 08:21:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596160#M581239</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2011-06-13T08:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: strings and white space</title>
      <link>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596206#M581249</link>
      <description>&lt;P&gt;Thankyou for your response&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using LabVIEW 2010 on Win XP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the concat of strings I've attached StringConcat.vi. It shows Max Value is trimmed to Max and the number 101.66.. is not appended. I'm probably missing something simple here. ( this has been cut out of a larger vi)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using the "Current Vi's path" which is in the file constants pallete.&lt;/P&gt;
&lt;P&gt;I've attached a simple VI that shows the problem.&lt;/P&gt;
&lt;P&gt;If I run it from C:\Labview\ I get "C:\Labview\﻿"&lt;/P&gt;
&lt;P&gt;If I run it from C:\Lab view\ I get "C:\Lab view\﻿"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if I run it under C:\My Documents\&amp;nbsp;&amp;nbsp; I get "C:\My"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's very inconsistant.&lt;/P&gt;
&lt;P&gt;﻿&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 09:44:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596206#M581249</guid>
      <dc:creator>AndyNC</dc:creator>
      <dc:date>2011-06-13T09:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: strings and white space</title>
      <link>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596222#M581251</link>
      <description>&lt;P&gt;Hi Andy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Both programs work as expected for me, but I had to make the front pannel indicator larger to see all the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ian&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 10:18:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596222#M581251</guid>
      <dc:creator>IanW</dc:creator>
      <dc:date>2011-06-13T10:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: strings and white space</title>
      <link>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596242#M581255</link>
      <description>&lt;P&gt;I made the front panel indicator large as well but I still have these problems.&lt;/P&gt;
&lt;P&gt;To me this indicates an underlying difference in the operation of my system versus yours. ie a setting somewhere that needs changing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there some setup difference that treats strings differently. I know it's clutching at straws but it doesn't work on my machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 10:57:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596242#M581255</guid>
      <dc:creator>AndyNC</dc:creator>
      <dc:date>2011-06-13T10:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: strings and white space</title>
      <link>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596244#M581256</link>
      <description>&lt;P&gt;I'm also running LV2010 and Win XP.&lt;/P&gt;
&lt;P&gt;It works as it should for me too, once I'd made the indicator big enough to see all of the contents.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MC&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 11:02:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596244#M581256</guid>
      <dc:creator>MaxCrunch</dc:creator>
      <dc:date>2011-06-13T11:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: strings and white space</title>
      <link>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596256#M581258</link>
      <description>&lt;P&gt;I've just made them even longer and it works OK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can now see what's happening. The indicator will only display complete blocks of non-whitespace.&lt;/P&gt;
&lt;P&gt;I certainly was not expecting this behaviour. I'm used to edit boxes which will display as much of a string as possible and simply truncate what won't fit in the box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's diverted me from my original problem which I can now get back to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks to all.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2011 11:20:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/strings-and-white-space/m-p/1596256#M581258</guid>
      <dc:creator>AndyNC</dc:creator>
      <dc:date>2011-06-13T11:20:50Z</dc:date>
    </item>
  </channel>
</rss>

