<?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: convert engineering string into a number in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/695573#M318758</link>
    <description>Hello,&lt;BR /&gt;I just got a funny problem with the "Fract/Exp String To Number" function in LV 8.5. First a Windows feature, that was not known to me. I set the point as decimal separator in the regional options as usually. When my colleague logged in for the first time on this maschine the regional options were set back to default European&lt;BR /&gt;(with comma as decimal separator). &lt;BR /&gt;OK, here comes the problem with the "Fract/Exp String To Number" function: While I converted some DBL numbers in the VI into Strings and convert them back on another place (please don't ask why, I should change this immediately &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; the "Fract/Exp String To Number" simply does not recognise the system's decimal separator even when the input "use system decimal point (T)" is left to default. Or could it be only my misunderstanding, that in this case it's meant as only "decimal point" and nothing else?&lt;BR /&gt;Ciao&lt;BR /&gt;Olli&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 24 Apr 2008 15:48:40 GMT</pubDate>
    <dc:creator>Olli</dc:creator>
    <dc:date>2008-04-24T15:48:40Z</dc:date>
    <item>
      <title>convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243224#M132263</link>
      <description>&lt;DIV&gt;Hello, &lt;/DIV&gt;
&lt;DIV&gt;How can I convert an engineering string into a number with a floating point without loosing precision ?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jul 2005 13:59:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243224#M132263</guid>
      <dc:creator>ramiral</dc:creator>
      <dc:date>2005-07-19T13:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243295#M132295</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Sorry for the draft but I'm looking for something tlike this :</description>
      <pubDate>Tue, 19 Jul 2005 15:02:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243295#M132295</guid>
      <dc:creator>ramiral</dc:creator>
      <dc:date>2005-07-19T15:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243401#M132342</link>
      <description>Well, you've made a simple task fairly complicated. What's wrong with using either Scan String or Fract/Exp String to Number? Also, don't confuse the precision of the conversion with the number of digits displayed. Right click on a numeric indicator and select Format &amp;amp; Precision to change the display.
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Jul 2005 17:00:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243401#M132342</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2005-07-19T17:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243661#M132445</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;The last VI I have done is this one (see attached file)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In fact it's so easy with changing directly the format and precision!!! thank you &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2005 07:13:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243661#M132445</guid>
      <dc:creator>ramiral</dc:creator>
      <dc:date>2005-07-20T07:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243681#M132451</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;What Dennis meant is that you can use "Fract/Exp String to Number" for everything, no need to jump through all these hoops!!! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It can handle all kinds of inputs with full precisions (e.g. 1234, 4.5E-12 (upper case "E"), 1.23456789e12 (lower case "e"), etc.) The attached example shows a few possible inputs together with the numeric output&amp;nbsp;formatted two different ways.&lt;/P&gt;
&lt;P&gt;(You seem to convert all decimal points to commas, thus you&amp;nbsp;probably use a non-US OS (German?). If all your&amp;nbsp;strings have decimal points instead of commas, you can just disable the local decimal point in "Fract/Exp String to Number" as shown. Your version actually does not work correctly&amp;nbsp;on an US computer, because the commas are not recognized as decimal separator here.)&lt;/P&gt;&lt;P&gt;Message Edited by altenbach on &lt;SPAN class="date_text"&gt;07-20-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:59 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2005 07:58:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243681#M132451</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2005-07-20T07:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243702#M132457</link>
      <description>&lt;DIV&gt;Hello alten ,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;out of curiosity i would like to know&amp;nbsp; . How did you get two different&amp;nbsp;formats of &amp;nbsp;indicators (one in scientific and the other in floating ), connected to one terminal&amp;nbsp;in the program 'convert engineering string into a number'. &lt;/DIV&gt;
&lt;DIV&gt;regards &lt;/DIV&gt;
&lt;DIV&gt;renault&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Jul 2005 08:47:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243702#M132457</guid>
      <dc:creator>renault</dc:creator>
      <dc:date>2005-07-20T08:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243736#M132473</link>
      <description>Hello renault,&lt;BR /&gt;
&lt;BR /&gt;
you can connect more than one data sink to a data source...&lt;BR /&gt;
&lt;BR /&gt;
The formatting is done in the indicator (right click on the numeric
indicator inside the arrays, properties or format&amp;amp;precision).&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Jul 2005 10:12:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243736#M132473</guid>
      <dc:creator>GerdW</dc:creator>
      <dc:date>2005-07-20T10:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243744#M132476</link>
      <description>&lt;DIV&gt;Thanks Gerd . got it .&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Jul 2005 10:57:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243744#M132476</guid>
      <dc:creator>renault</dc:creator>
      <dc:date>2005-07-20T10:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243768#M132487</link>
      <description>A really neat part is that all the stuff the other guys have been telling you about can also be done programatically using property nodes so if you are writing a GUI you could have an indicator change its format and precision based on the value its displaying...
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Mike...&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Jul 2005 12:01:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243768#M132487</guid>
      <dc:creator>mikeporter</dc:creator>
      <dc:date>2005-07-20T12:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243809#M132504</link>
      <description>And the winner for the LabVIEW code obfuscation is: &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Jul 2005 13:22:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/243809#M132504</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2005-07-20T13:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/244117#M132659</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/7614"&gt;@altenbach&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;(You seem to convert all decimal points to commas, thus you&amp;nbsp;probably use a non-US OS (German?). If all your&amp;nbsp;strings have decimal points instead of commas, you can just disable the local decimal point in "Fract/Exp String to Number" as shown. Your version actually does not work correctly&amp;nbsp;on an US computer, because the commas are not recognized as decimal separator here.) 
&lt;/P&gt;&lt;HR /&gt;

&lt;P&gt;&lt;/P&gt;
&lt;P&gt;As an additional note, remember that you can programmatically switch between period decimal and&amp;nbsp;comma decimal format, by using the following silent formatting codes:&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;%,;&lt;/STRONG&gt; &lt;/FONT&gt;--&amp;gt; Comma decimal separator&lt;BR /&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;%.; &lt;/STRONG&gt;&lt;/FONT&gt;--&amp;gt; Period Decimal separator&lt;BR /&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;%;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp; --&amp;gt; System default sperator&lt;/P&gt;&lt;/BLOCKQUOTE&gt;Check the online help for more details. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Jul 2005 20:11:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/244117#M132659</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2005-07-20T20:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/695573#M318758</link>
      <description>Hello,&lt;BR /&gt;I just got a funny problem with the "Fract/Exp String To Number" function in LV 8.5. First a Windows feature, that was not known to me. I set the point as decimal separator in the regional options as usually. When my colleague logged in for the first time on this maschine the regional options were set back to default European&lt;BR /&gt;(with comma as decimal separator). &lt;BR /&gt;OK, here comes the problem with the "Fract/Exp String To Number" function: While I converted some DBL numbers in the VI into Strings and convert them back on another place (please don't ask why, I should change this immediately &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; the "Fract/Exp String To Number" simply does not recognise the system's decimal separator even when the input "use system decimal point (T)" is left to default. Or could it be only my misunderstanding, that in this case it's meant as only "decimal point" and nothing else?&lt;BR /&gt;Ciao&lt;BR /&gt;Olli&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Apr 2008 15:48:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/695573#M318758</guid>
      <dc:creator>Olli</dc:creator>
      <dc:date>2008-04-24T15:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/695584#M318765</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Yes.&amp;nbsp; Regional settings are&amp;nbsp;a function of which user is logged in.&amp;nbsp; Each user can have their own settings.&amp;nbsp; For a new user who has never logged in before, Windows sets their settings to some default.&amp;nbsp; I'm not sure how you can change the defaults that Windows uses.&lt;/P&gt;
&lt;P&gt;I'm not clear on exactly what your problem is.&amp;nbsp; Can you post an example of the code you are using?&amp;nbsp; Is it comma or period that is being used in the string?&amp;nbsp; What is the regional setting for the user logged in?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2008 16:00:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/695584#M318765</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2008-04-24T16:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/695936#M318925</link>
      <description>Hello Ravens Fan,&lt;BR /&gt;thanks for the reply! In fact I should have taken a cup of tea and thought it over before posting my question. The string I convert into a fractional number comes from another device. There the decimal separator is always a point not a comma....and so with the new regional settings of the new user the "Fract/Exp String To Number" function&amp;nbsp; gave a correct output (by ignoring the point).&lt;BR /&gt;I will replace this function with the "Scan From String" function and specify the format of the number exactly, because this format will never change. Then it will be working with an regional setting of windows.&lt;BR /&gt;Ciao&lt;BR /&gt;Olli&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Apr 2008 06:17:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/695936#M318925</guid>
      <dc:creator>Olli</dc:creator>
      <dc:date>2008-04-25T06:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: convert engineering string into a number</title>
      <link>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/695947#M318928</link>
      <description>...or simply switch the "Fract/Exp String To Number" separator to "period"....I did not recognise this word as synonyme for the word "point".&lt;BR /&gt;OK this is time now for a strong coffee.&lt;BR /&gt;Greetings&lt;BR /&gt;Olli&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Apr 2008 06:33:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/convert-engineering-string-into-a-number/m-p/695947#M318928</guid>
      <dc:creator>Olli</dc:creator>
      <dc:date>2008-04-25T06:33:57Z</dc:date>
    </item>
  </channel>
</rss>

