<?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: Remove negative values while building a 2D array in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633724#M293174</link>
    <description>&lt;DIV&gt;In second thought, it would be best to initialize the array, as you know the number of samples,&lt;/DIV&gt;
&lt;DIV&gt;and then use the replace element function. &lt;/DIV&gt;
&lt;DIV&gt;Better memory usage with this way.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Take a look here.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;A href="http://forums.ni.com/ni/board/message?board.id=170&amp;amp;thread.id=292035&amp;amp;view=by_date_ascending&amp;amp;page=2" target="_blank"&gt;http://forums.ni.com/ni/board/message?board.id=170&amp;amp;thread.id=292035&amp;amp;view=by_date_ascending&amp;amp;page=2&lt;/A&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Sat, 05 Jan 2008 16:11:25 GMT</pubDate>
    <dc:creator>Pnt</dc:creator>
    <dc:date>2008-01-05T16:11:25Z</dc:date>
    <item>
      <title>Remove negative values while building a 2D array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633718#M293168</link>
      <description>The attached VI generates a waveform based on cursor positions and generates a results array.&amp;nbsp;&amp;nbsp; However, I ONLY want the results array to contain POSITIVE value elements, I would like to discard the negative AND 0&amp;nbsp; element values.&amp;nbsp; My case structure only replaces the negative values with zero.&amp;nbsp; How do I disguard the negative values and not add them to the results array in the first place?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Jan 2008 15:24:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633718#M293168</guid>
      <dc:creator>Dave@Ventec</dc:creator>
      <dc:date>2008-01-05T15:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative values while building a 2D array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633723#M293173</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Thats the basic idea..</description>
      <pubDate>Sat, 05 Jan 2008 16:03:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633723#M293173</guid>
      <dc:creator>Pnt</dc:creator>
      <dc:date>2008-01-05T16:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative values while building a 2D array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633724#M293174</link>
      <description>&lt;DIV&gt;In second thought, it would be best to initialize the array, as you know the number of samples,&lt;/DIV&gt;
&lt;DIV&gt;and then use the replace element function. &lt;/DIV&gt;
&lt;DIV&gt;Better memory usage with this way.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Take a look here.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;A href="http://forums.ni.com/ni/board/message?board.id=170&amp;amp;thread.id=292035&amp;amp;view=by_date_ascending&amp;amp;page=2" target="_blank"&gt;http://forums.ni.com/ni/board/message?board.id=170&amp;amp;thread.id=292035&amp;amp;view=by_date_ascending&amp;amp;page=2&lt;/A&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Jan 2008 16:11:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633724#M293174</guid>
      <dc:creator>Pnt</dc:creator>
      <dc:date>2008-01-05T16:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative values while building a 2D array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633727#M293177</link>
      <description>I am just not understanding this one.&amp;nbsp; I tried to follow your example but......&amp;nbsp; Thanks for your help.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Jan 2008 16:21:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633727#M293177</guid>
      <dc:creator>Dave@Ventec</dc:creator>
      <dc:date>2008-01-05T16:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative values while building a 2D array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633731#M293179</link>
      <description>How do I fix the case selector error?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Jan 2008 16:58:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633731#M293179</guid>
      <dc:creator>Dave@Ventec</dc:creator>
      <dc:date>2008-01-05T16:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative values while building a 2D array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633738#M293185</link>
      <description>&lt;DIV&gt;The idea is something like this.&lt;/DIV&gt;
&lt;DIV&gt;I don't have the time to finish it, and it's a little messy.&lt;/DIV&gt;
&lt;DIV&gt;It does not work ok.. you only check one element if it is &amp;gt;0... see if you can finish it&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Jan 2008 17:33:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633738#M293185</guid>
      <dc:creator>Pnt</dc:creator>
      <dc:date>2008-01-05T17:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Remove negative values while building a 2D array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633739#M293186</link>
      <description>Yes I can, Many Thanks for you time and help!&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Jan 2008 17:41:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Remove-negative-values-while-building-a-2D-array/m-p/633739#M293186</guid>
      <dc:creator>Dave@Ventec</dc:creator>
      <dc:date>2008-01-05T17:41:11Z</dc:date>
    </item>
  </channel>
</rss>

