<?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: How to average data from DAQ Card? in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813232#M623490</link>
    <description>&lt;P&gt;Use a shift register where you add each measurement to the existing data with each iteration. At the end, divide by the number of acquisitions to get the average.&lt;/P&gt;
&lt;P&gt;(&lt;A href="http://forums.ni.com/t5/LabVIEW/Calculate-the-average-value/m-p/1300582#M536442" target="_self"&gt;here's an example&lt;/A&gt; for averaging a single scalar, but it would be the same for an array of data)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What datatype is your acquired data? Can you attach a simplified example?&lt;/P&gt;</description>
    <pubDate>Sat, 17 Dec 2011 19:29:05 GMT</pubDate>
    <dc:creator>altenbach</dc:creator>
    <dc:date>2011-12-17T19:29:05Z</dc:date>
    <item>
      <title>How to average data from DAQ Card?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813226#M623487</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am very new, in fact have not much experience with labview. I am currently doing my internship and have a great problem. I need to try solve this as fast as I could to avoid all the stress from my boss.&lt;/P&gt;
&lt;P&gt;It would be nice if anyone could help me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I need a program, that read data from DAQ-Cards, it will collect all the values and average them after 60 minutes. This value, which had been average should be saved in a text file. This program should run for at least a day.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to acquire the data from the cards won't be a problem for me. But how to collect them and average them in an hour is a big trouble. Any Help would be appreciated&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2011 18:41:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813226#M623487</guid>
      <dc:creator>alfred_tew</dc:creator>
      <dc:date>2011-12-17T18:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to average data from DAQ Card?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813232#M623490</link>
      <description>&lt;P&gt;Use a shift register where you add each measurement to the existing data with each iteration. At the end, divide by the number of acquisitions to get the average.&lt;/P&gt;
&lt;P&gt;(&lt;A href="http://forums.ni.com/t5/LabVIEW/Calculate-the-average-value/m-p/1300582#M536442" target="_self"&gt;here's an example&lt;/A&gt; for averaging a single scalar, but it would be the same for an array of data)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What datatype is your acquired data? Can you attach a simplified example?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2011 19:29:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813232#M623490</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2011-12-17T19:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to average data from DAQ Card?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813238#M623492</link>
      <description>&lt;P&gt;Thanks...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But how do I save them every 60 minutes?&lt;/P&gt;
&lt;P&gt;I am using a NI-USB 6008 card. The problem is I have no Labview at home, only at work, and at work I do not have Internet access. This task is really killing me. I can't get it out.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2011 20:09:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813238#M623492</guid>
      <dc:creator>alfred_tew</dc:creator>
      <dc:date>2011-12-17T20:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to average data from DAQ Card?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813268#M623501</link>
      <description>&lt;P&gt;Each time through your loop compare the current time to the previous time data was saved. &amp;nbsp;When the difference is &amp;gt;= 60 minutes, save the data and reset the previous save time to the current time. &amp;nbsp;This will require a shift register to kepp track of the previous time and a case structure for the save.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lynn&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2011 02:54:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813268#M623501</guid>
      <dc:creator>johnsold</dc:creator>
      <dc:date>2011-12-18T02:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to average data from DAQ Card?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813280#M623504</link>
      <description>&lt;P&gt;or you could just use the &lt;A href="https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/vi-lib/express/express-execution-control/elapsedtimeblock-llb/ex-inst-elapsed-time-vi.html" target="_self"&gt;Elapsed Time Express VI&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 01:36:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813280#M623504</guid>
      <dc:creator>altenbach</dc:creator>
      <dc:date>2024-10-04T01:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to average data from DAQ Card?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813296#M623506</link>
      <description>&lt;P&gt;Am still very confused. Like I said, I am very new to this program, in fact I never used it before or learn it. Can anyone give me an example how it should look like?&lt;/P&gt;
&lt;P&gt;I really appreciate what you all done.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2011 06:41:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-to-average-data-from-DAQ-Card/m-p/1813296#M623506</guid>
      <dc:creator>alfred_tew</dc:creator>
      <dc:date>2011-12-18T06:41:29Z</dc:date>
    </item>
  </channel>
</rss>

