<?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: Format specifier HELP in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854187#M630987</link>
    <description>&lt;P&gt;If you always have exactly five \x00 separating the numbers, I'd use something like this:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/64349iB2ADC64CC527C216/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="search replace string to array.png" title="search replace string to array.png" align="center" /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jan 2012 17:27:34 GMT</pubDate>
    <dc:creator>nathand</dc:creator>
    <dc:date>2012-01-27T17:27:34Z</dc:date>
    <item>
      <title>Format specifier HELP</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854029#M630962</link>
      <description>&lt;P&gt;I read this transmition from COM port 1 using VISA Interactive Control.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;+0.0000000E+00\x00\x00\x00\x00\x00 -0.3127200E+02\x00\x00\x00\ x00\x00 +0.0000000E+00\x00\x00\x00\x00\x00 +0.0000000E+00\x00\ x00\x00\x00\x00 +0.0000000E+00\x00\x00\x00\x00\x00 +0.0000000E+ 00\x00\x00\x00\x00\x00 \x00\x00\r\n&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the Scan from String Function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need the Engineering format Numbers and want to ignore the "\x00". the space " " and then acquire the second number "-0.3127200E+02". And so on!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried many different format specifiers without much luck! (I recieve only the first number)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help for a new user out there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, Ross&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2012 16:05:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854029#M630962</guid>
      <dc:creator>Ross Stewart</dc:creator>
      <dc:date>2012-01-27T16:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Format specifier HELP</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854187#M630987</link>
      <description>&lt;P&gt;If you always have exactly five \x00 separating the numbers, I'd use something like this:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/64349iB2ADC64CC527C216/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="search replace string to array.png" title="search replace string to array.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2012 17:27:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854187#M630987</guid>
      <dc:creator>nathand</dc:creator>
      <dc:date>2012-01-27T17:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Format specifier HELP</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854347#M631009</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You helped me! The characters \x00 were just representations of the VISA INTERACTIVE CONTROL, In the data stream they were actually&lt;/P&gt;
&lt;P&gt;&amp;nbsp;binary 0000 0000 0000 0000. I used search and replace patternVI to remove all characters I was not needing from stream. Thanks for your time, It lead to the answer I needed! THX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/64365i92ED5BFFBC54F1F5/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="snippet.png" title="snippet.png" width="324" height="228" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2012 18:51:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854347#M631009</guid>
      <dc:creator>Ross Stewart</dc:creator>
      <dc:date>2012-01-27T18:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Format specifier HELP</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854483#M631046</link>
      <description>&lt;P&gt;The regex you're using will also remove the decimal point and it will not remove the useless zeroes. If it is the second value that you want and the strings all have the same pattern (a 0 value, the significative value, 3 sets of 0 values) you can use the following code to extract them all. It will also work with an input string that contain multiple lines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ben64&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/64385i02380B211DBF5D9E/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Multiple Line Regex Solution.png" title="Multiple Line Regex Solution.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2012 19:55:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854483#M631046</guid>
      <dc:creator>ben64</dc:creator>
      <dc:date>2012-01-27T19:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Format specifier HELP</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854961#M631155</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/217509"&gt;@Ross Stewart&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You helped me!&amp;nbsp; THX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then you should mark Nathan's post as the solution to your question rather than your thank you post.&amp;nbsp; Please, go to the options menu to the upper right of your message to unmark your post as the solution so you can then go and properly mark Nathan's post.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2012 17:44:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Format-specifier-HELP/m-p/1854961#M631155</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2012-01-28T17:44:08Z</dc:date>
    </item>
  </channel>
</rss>

