<?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 Re: String manipulation question in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253134#M1237684</link>
    <description>&lt;P&gt;This seems to satisfy your test case&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="santo_13_0-1662083169054.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/fc9b0027eb7f13f65d93b01903d89aaf562d3f03/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303735383569323744393639343435423042313042432f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="santo_13_0-1662083169054.png" alt="santo_13_0-1662083169054.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 01:47:40 GMT</pubDate>
    <dc:creator>santo_13</dc:creator>
    <dc:date>2022-09-02T01:47:40Z</dc:date>
    <item>
      <title>String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253132#M1237683</link>
      <description>&lt;P&gt;For some reason, I was not able to locate the solution to this.&amp;nbsp; I'm sure its out there.&amp;nbsp; &amp;nbsp;I want a simple decimal to ascii conversion for a 2 digit number with zero fill before numbers less than 10.&amp;nbsp; Here is a solution but I can't imagine there isn't something more straight forward than this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Froboz_0-1662081485699.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/4929b700e8720ae3ae23040083247d9fccd36cd0/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303735383469413230374431453746373445394337422f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="Froboz_0-1662081485699.png" alt="Froboz_0-1662081485699.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would have thought that after the number to hex conversion I would get a straight answer.&amp;nbsp; So, assume I entered the number 5, it would become 05 and then in the byte array would be 48 and 53.&amp;nbsp; After the hex conversion I was thinking I would get 30 and 35, respectively, but instead I get 3330 and 3335.&amp;nbsp; Hence the need to get the substring to eliminate the first two digits, followed by the concatenation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sure there's got to be an easier way.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 01:22:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253132#M1237683</guid>
      <dc:creator>Froboz</dc:creator>
      <dc:date>2022-09-02T01:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253134#M1237684</link>
      <description>&lt;P&gt;This seems to satisfy your test case&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="santo_13_0-1662083169054.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/fc9b0027eb7f13f65d93b01903d89aaf562d3f03/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303735383569323744393639343435423042313042432f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="santo_13_0-1662083169054.png" alt="santo_13_0-1662083169054.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 01:47:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253134#M1237684</guid>
      <dc:creator>santo_13</dc:creator>
      <dc:date>2022-09-02T01:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253259#M1237725</link>
      <description>&lt;P&gt;Hi Froboz,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This seems to do the job:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Test.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/8ee88068534448269c5f672be38b2d9a424b0c26/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736303869423643354238304131443842464545342f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="Test.png" alt="Test.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Xonmyth743_1-1662129046884.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/8fd5ca96d3c4b1ea7de5e672a3d0d871429a6f70/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736303969314535423530324137314638423236392f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="Xonmyth743_1-1662129046884.png" alt="Xonmyth743_1-1662129046884.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure if this solution would not work for you in a certain scenario.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 14:32:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253259#M1237725</guid>
      <dc:creator>XM43</dc:creator>
      <dc:date>2022-09-02T14:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253274#M1237731</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LV2022-09-02 172458.jpg" style="width: 386px;"&gt;&lt;img src="https://ip1.i.lithium.com/6b84163e50eca976cef1a8dca8e5d5172f8e56c8/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736313169353945313842314535454343313933412f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="LV2022-09-02 172458.jpg" alt="LV2022-09-02 172458.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 15:25:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253274#M1237731</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2022-09-02T15:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253276#M1237732</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Xonmyth743_0-1662133384975.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/d90d809d65ae4c53d7a1820b0b0c19ef9feeb2f0/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736313269424239414343304435414431363336422f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="Xonmyth743_0-1662133384975.png" alt="Xonmyth743_0-1662133384975.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 15:43:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253276#M1237732</guid>
      <dc:creator>XM43</dc:creator>
      <dc:date>2022-09-02T15:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253279#M1237734</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/704271"&gt;@Froboz&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm sure there's got to be an easier way.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The answer quality typically does not exceed the quality of the question, and your definitions are lacking.&lt;/P&gt;
&lt;P&gt;For example, "decimal" and "ASCII" are very vague terms that can be interpreted in many different ways.&lt;/P&gt;
&lt;P&gt;What is the display style of your final string?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please attach your VI, not a truncated blurry picture .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See if this can give you some ideas....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="altenbach_0-1662134936961.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/6701d19417595d946bc7d8870cc141e87ff94d9f/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736313669313036374146363930323333304243452f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="altenbach_0-1662134936961.png" alt="altenbach_0-1662134936961.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 16:09:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253279#M1237734</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2022-09-02T16:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253319#M1237745</link>
      <description>&lt;P&gt;Whether it solves the OPs requirement or not, I am learning different innovative approaches.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 18:25:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253319#M1237745</guid>
      <dc:creator>santo_13</dc:creator>
      <dc:date>2022-09-02T18:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253330#M1237749</link>
      <description>&lt;P&gt;Here is one more: &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Xonmyth743_1-1662146214299.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/f6e63680b4b314a47967fe2d217c518648b4a793/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736333569363931433232353533423245413446332f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="Xonmyth743_1-1662146214299.png" alt="Xonmyth743_1-1662146214299.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:17:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253330#M1237749</guid>
      <dc:creator>XM43</dc:creator>
      <dc:date>2022-09-02T19:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253331#M1237750</link>
      <description>&lt;P&gt;If you take that same concatenated string indicator and change it from normal to hex, this is what I get:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Froboz_0-1662145747499.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/4a256b9db391ca37d1460ba52289ab1cd21243cf/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736333469413038373139453737453934384344452f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="Froboz_0-1662145747499.png" alt="Froboz_0-1662145747499.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I tried this before, buiIding up ascii strings to communicate with a device over TCP, I was getting errors.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Froboz_1-1662146239096.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/b27f2518beadc0b11cde4baf50df1021c8558535/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736333669323436354637383845363331373743322f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="Froboz_1-1662146239096.png" alt="Froboz_1-1662146239096.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Without having a scope to corroborate that the wrong data is being sent out, I can only tell indirectly that this form is having issues because I am getting errors from the logging device.&amp;nbsp; The indicator has to be in the form of hexadecimal and must show 3035, where as the normal form shows something else.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 19:19:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253331#M1237750</guid>
      <dc:creator>Froboz</dc:creator>
      <dc:date>2022-09-02T19:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation question</title>
      <link>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253344#M1237755</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/704271"&gt;@Froboz&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The indicator has to be in the form of hexadecimal and must show 3035, where as the normal form shows something else.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, that seems to be quite important information (and should have been mentioned from the beginning!)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It makes the problem even more trivial (indicator is in hex display now):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="altenbach_0-1662148646530.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/bdfe11be2ccfcc28df9bec48ae9f8d5bbb68355c/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736333969434341303932363442333833314244392f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="altenbach_0-1662148646530.png" alt="altenbach_0-1662148646530.png" /&gt;&lt;/span&gt;&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/704271"&gt;@Froboz&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Froboz_1-1662146239096.png" style="width: 999px;"&gt;&lt;img src="https://ip1.i.lithium.com/35246554d9cf028122e8dbb93d697019e57ca2eb/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736333669323436354637383845363331373743322f696d6167652d73697a652f6c617267653f763d76322670783d393939" role="button" title="Froboz_1-1662146239096.png" alt="Froboz_1-1662146239096.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You really need to eliminate all ambiguities and &lt;U&gt;attach your code&lt;/U&gt; instead of truncated ambiguous pictures.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The display style (normal, hex, etc.) is a purely cosmetic property of the indicator and has nothing to do with the underlying data, so labeling one string wire as "normal" and other wires as "hex" is completely meaningless!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of all your red comments, just &lt;U&gt;make it a habit&lt;/U&gt; to show the display style of string diagram constants and controls/indicators:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="altenbach_0-1662149457798.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/22de851448265538e4f1371395a1c1c9533c3c22/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33303736343169393544333338314330423035373632362f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="altenbach_0-1662149457798.png" alt="altenbach_0-1662149457798.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 20:12:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/String-manipulation-question/m-p/4253344#M1237755</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2022-09-02T20:12:39Z</dc:date>
    </item>
  </channel>
</rss>

