<?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: Buffer, Average, or What? in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944455#M423650</link>
    <description>&lt;P&gt;What is your data acquisition rate?&amp;nbsp; How rapidly do you expect values to change?&amp;nbsp; From your graph, it looks like rapid changes aren't happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it was me, I would acquire at a rate about 10 times faster than you would want, and just average those 10 values to together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, you have a possible race condition with your use of local variables for "Elapsed Time".&amp;nbsp; In all likelihood, the values in the local variables will probably be from the last iteration of the loop rather than the current iteration.&amp;nbsp; You should just wire them directly to where the elapsed time is being calculated.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2009 14:00:57 GMT</pubDate>
    <dc:creator>RavensFan</dc:creator>
    <dc:date>2009-07-14T14:00:57Z</dc:date>
    <item>
      <title>Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944450#M423649</link>
      <description>&lt;P&gt;I am searching for advice on how to knock down some of the noise in my signal.&amp;nbsp; Two ways I have thought of would be to build a buffer or average the input signal over the appropriate time frame.&amp;nbsp; Any ideas?&amp;nbsp; Examples?&amp;nbsp; Take a look at the attachment and see if you have any other ideas....thanks for your help.&lt;/P&gt;&lt;P&gt;Bradley &lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2009 13:53:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944450#M423649</guid>
      <dc:creator>BLW</dc:creator>
      <dc:date>2009-07-14T13:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944455#M423650</link>
      <description>&lt;P&gt;What is your data acquisition rate?&amp;nbsp; How rapidly do you expect values to change?&amp;nbsp; From your graph, it looks like rapid changes aren't happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it was me, I would acquire at a rate about 10 times faster than you would want, and just average those 10 values to together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, you have a possible race condition with your use of local variables for "Elapsed Time".&amp;nbsp; In all likelihood, the values in the local variables will probably be from the last iteration of the loop rather than the current iteration.&amp;nbsp; You should just wire them directly to where the elapsed time is being calculated.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:00:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944455#M423650</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2009-07-14T14:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944463#M423655</link>
      <description>&lt;P&gt;Browse the examples for Filter...&amp;nbsp;&amp;nbsp; Help - Find examples ... - Analysing and Processing Signals - Filtering and Conditioning&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't open .doc files from the internet so .... a png or jpg would be nice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How are you sampling your signal? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What LV version do you use?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Henrik Volkers on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 07-14-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 04:09 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:09:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944463#M423655</guid>
      <dc:creator>Henrik_Volkers</dc:creator>
      <dc:date>2009-07-14T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944465#M423657</link>
      <description>&lt;P&gt;Well I exactly do not understand your requirement, but carrying on your point of averaging, there is a very good VI known as smoothing filter you can use it for moving average. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krunal K Patel&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2009 14:10:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944465#M423657</guid>
      <dc:creator>Krunal_K_Patel</dc:creator>
      <dc:date>2009-07-14T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944696#M423749</link>
      <description>&lt;P&gt;Sorry, new to graphical programming and trying to clean up someones mess.&amp;nbsp; Can you get me started on a method of averaging my signal.&amp;nbsp; The signal is generated from an O2 sensor &amp;gt; NI 9206 &amp;gt; cDAQ 9172 &amp;gt; Lab View 8.2 &amp;gt; DAQ mx Read &amp;gt; 1D Array of Waveform (DBL) &amp;gt;from there the signal has been split and sent to various indicators, two of those splits go to a merge &amp;gt;convert to dynamic data &amp;gt; waveform chart.&amp;nbsp; All of this is in the attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks,&lt;/P&gt;&lt;P&gt;BLW &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2009 19:14:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944696#M423749</guid>
      <dc:creator>BLW</dc:creator>
      <dc:date>2009-07-14T19:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944713#M423757</link>
      <description>Here a pic of what I tried but now I get no signal.</description>
      <pubDate>Tue, 14 Jul 2009 19:36:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944713#M423757</guid>
      <dc:creator>BLW</dc:creator>
      <dc:date>2009-07-14T19:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944727#M423763</link>
      <description>&lt;P&gt;It would be easier to look at if you posted your actual VI.&amp;nbsp; That way we can see some of the settings in the Express VI's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without seeing the code, my guess is this.&amp;nbsp; You have a dynamic datatype of multiple datastreams.&amp;nbsp; One of them get converted to an array.&amp;nbsp; The mean of that is taking so you wind up with a single value.&amp;nbsp; That gets converted back, to a dynamic datatype, merged with the other signals and plotted.&amp;nbsp; Now if you were plotting 10 samples per iteration before, now you are plotting 10 per for most datastreams, but only 1 sample for the averaged data stream.&amp;nbsp; So it falls behind on the waveform chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please post your VI.&amp;nbsp; First run it to collect some data.&amp;nbsp; Then go to Edit Make Current Values Default.&amp;nbsp; Save it, then post it.&amp;nbsp; Now we can see your VI with some real data it in so we can inspect it.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2009 19:56:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944727#M423763</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2009-07-14T19:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944732#M423766</link>
      <description>So, I did the attached configuration.&amp;nbsp; I added (Mean) to the O2 input line and now this configuration crashes LabVIEW once I start the VI.&amp;nbsp; Any help is appreciated.</description>
      <pubDate>Tue, 14 Jul 2009 20:00:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944732#M423766</guid>
      <dc:creator>BLW</dc:creator>
      <dc:date>2009-07-14T20:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944737#M423768</link>
      <description />
      <pubDate>Tue, 14 Jul 2009 20:09:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944737#M423768</guid>
      <dc:creator>BLW</dc:creator>
      <dc:date>2009-07-14T20:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer, Average, or What?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944742#M423771</link>
      <description>&lt;P&gt;I applied a mean calculation to both inputs and solved the problem.&amp;nbsp; Thanks!&amp;nbsp; I'll look into the Race condition and proabably post tomorrow morn, I'll look forward to your help.&amp;nbsp; Thanks again.&lt;/P&gt;&lt;P&gt;BLW &lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2009 20:20:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Buffer-Average-or-What/m-p/944742#M423771</guid>
      <dc:creator>BLW</dc:creator>
      <dc:date>2009-07-14T20:20:25Z</dc:date>
    </item>
  </channel>
</rss>

