<?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: sum two consecutive elements in a LARGE array in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97269#M59645</link>
    <description>That's just what I was going to say! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck, Tom!&lt;BR /&gt;&lt;BR /&gt;Eric &lt;BR /&gt;</description>
    <pubDate>Thu, 14 Aug 2003 22:50:08 GMT</pubDate>
    <dc:creator>chutla</dc:creator>
    <dc:date>2003-08-14T22:50:08Z</dc:date>
    <item>
      <title>sum two consecutive elements in a LARGE array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97267#M59643</link>
      <description>Hi,&lt;BR /&gt;my question is, how can I sum two consecutive elements in a LARGE array and calculate the Min and Max.&lt;BR /&gt;&lt;BR /&gt;My 1D-array has 1800000 rows. I need to add the following elements: 0+1, 2+3, 4+5, 6+7 ... and so on.&lt;BR /&gt;So my loop needs only 1800000/2 iterations.&lt;BR /&gt;What is the fastest way to do this?&lt;BR /&gt;At the moment I have a while loop where 2 elements will be deleted from the array and added together. The resulting array w/ subset deleted is connected to a shift-register.&lt;BR /&gt;Is this the fastest way? Due to the fact that with every iteration 2 elements are deleted the operation will accelerates.&lt;BR /&gt;Maybe there is another solution to calculate the Min and Max.??&lt;BR /&gt;&lt;BR /&gt;I have attached an picture of the while-loop.&lt;BR /&gt;&lt;BR /&gt;I would be thankful&lt;BR /&gt; for every tip.&lt;BR /&gt;&lt;BR /&gt;Regards Tomm &lt;BR /&gt;</description>
      <pubDate>Thu, 14 Aug 2003 09:00:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97267#M59643</guid>
      <dc:creator>Tomm</dc:creator>
      <dc:date>2003-08-14T09:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: sum two consecutive elements in a LARGE array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97268#M59644</link>
      <description>Hi Tomm&lt;BR /&gt;&lt;BR /&gt;An easy aproach could be:&lt;BR /&gt;Use "Decimate 1D array" with 2 outputs and add these outputs. It is simple and fast. Then use the "array max &amp;amp; min" to find Max/Min.&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;Alipio &lt;BR /&gt;</description>
      <pubDate>Thu, 14 Aug 2003 10:07:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97268#M59644</guid>
      <dc:creator>alipio</dc:creator>
      <dc:date>2003-08-14T10:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: sum two consecutive elements in a LARGE array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97269#M59645</link>
      <description>That's just what I was going to say! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck, Tom!&lt;BR /&gt;&lt;BR /&gt;Eric &lt;BR /&gt;</description>
      <pubDate>Thu, 14 Aug 2003 22:50:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97269#M59645</guid>
      <dc:creator>chutla</dc:creator>
      <dc:date>2003-08-14T22:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: sum two consecutive elements in a LARGE array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97270#M59646</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;thanks for your answers. However in the meantime I've found a better way.&lt;BR /&gt;The best way is to open the file with the data and read the data piecemeal.&lt;BR /&gt;Then sum the appropriate values and read new data from file. That method is very fast. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Tomm &lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2003 05:39:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97270#M59646</guid>
      <dc:creator>Tomm</dc:creator>
      <dc:date>2003-08-15T05:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: sum two consecutive elements in a LARGE array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97271#M59647</link>
      <description>Hi there!&lt;BR /&gt;&lt;BR /&gt;I've been trying to do the same...would you please send me an example to show me how you did that?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Tiano &lt;BR /&gt;</description>
      <pubDate>Tue, 19 Aug 2003 15:07:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97271#M59647</guid>
      <dc:creator>Tiano</dc:creator>
      <dc:date>2003-08-19T15:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: sum two consecutive elements in a LARGE array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97272#M59648</link>
      <description>Hi Tiano,&lt;BR /&gt;&lt;BR /&gt;I've attached a file where you can see how I solved the problem.&lt;BR /&gt;Let me know if it helps. Otherwise we can look for another solution.&lt;BR /&gt;&lt;BR /&gt;Regards Tomm &lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2003 06:08:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97272#M59648</guid>
      <dc:creator>Tomm</dc:creator>
      <dc:date>2003-08-22T06:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: sum two consecutive elements in a LARGE array</title>
      <link>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97273#M59649</link>
      <description>The Vi I wanted to do was a bit different. I wanted to subtract the second element by the first, the third by the second and so on. Looking to your exampl, I got the light...I manage to do what I wanted. Thanks again...&lt;BR /&gt;&lt;BR /&gt;Tiano &lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2003 06:44:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/sum-two-consecutive-elements-in-a-LARGE-array/m-p/97273#M59649</guid>
      <dc:creator>Tiano</dc:creator>
      <dc:date>2003-08-22T06:44:15Z</dc:date>
    </item>
  </channel>
</rss>

