<?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: Programming in this formula in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881642#M398658</link>
    <description>&lt;P&gt;This should be what youre looking for, replacing the random rnumbers with DAQ Assist:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="http://forums.ni.com/ni/attachments/ni/170/398658/1/deltaT.jpg" border="0" /&gt;&lt;/P&gt;&lt;P&gt;Also, that 500 ms wait was just for a quick glance making sure I wired everything correctly, you wouldn't need that per se. &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Chris_VH on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 03-31-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 02:10 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 31 Mar 2009 19:10:27 GMT</pubDate>
    <dc:creator>Chris_VH</dc:creator>
    <dc:date>2009-03-31T19:10:27Z</dc:date>
    <item>
      <title>Programming in this formula</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881634#M398652</link>
      <description>&lt;P&gt;If I have a simple program consisting of a DAQ assistant inside a while loop with its data output in volts is there anyway to program in the following formula?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Acceleration= {((Vout1/125)/0.5)-((Vout2/125)/0.5)}/(T2-T1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so if I start the program Vout1 will be the first data output and T1 will be the time in sec (0 sec) and Vout2 will be the second data output at time T2.&amp;nbsp; Essentially I am trying to convert the voltage output from my device into acceleration as the program runs.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2009 18:58:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881634#M398652</guid>
      <dc:creator>crockengineer</dc:creator>
      <dc:date>2009-03-31T18:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in this formula</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881638#M398656</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; You want a shift register.&amp;nbsp; Feed the voltage into a shift register on the right hand side.&amp;nbsp; The left hand side of the shift register will be the value from the previous iteration of the loop.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2009 19:02:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881638#M398656</guid>
      <dc:creator>RavensFan</dc:creator>
      <dc:date>2009-03-31T19:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in this formula</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881641#M398657</link>
      <description>what about T1 and T2?</description>
      <pubDate>Tue, 31 Mar 2009 19:07:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881641#M398657</guid>
      <dc:creator>crockengineer</dc:creator>
      <dc:date>2009-03-31T19:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in this formula</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881642#M398658</link>
      <description>&lt;P&gt;This should be what youre looking for, replacing the random rnumbers with DAQ Assist:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="http://forums.ni.com/ni/attachments/ni/170/398658/1/deltaT.jpg" border="0" /&gt;&lt;/P&gt;&lt;P&gt;Also, that 500 ms wait was just for a quick glance making sure I wired everything correctly, you wouldn't need that per se. &lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Chris_VH on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 03-31-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 02:10 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Mar 2009 19:10:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881642#M398658</guid>
      <dc:creator>Chris_VH</dc:creator>
      <dc:date>2009-03-31T19:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in this formula</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881682#M398673</link>
      <description>delta T will be in Millisecond correct?</description>
      <pubDate>Tue, 31 Mar 2009 19:52:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881682#M398673</guid>
      <dc:creator>crockengineer</dc:creator>
      <dc:date>2009-03-31T19:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in this formula</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881687#M398674</link>
      <description>Up to you, but in MY example, dividing by 1000 will give dT in seconds.</description>
      <pubDate>Tue, 31 Mar 2009 19:55:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Programming-in-this-formula/m-p/881687#M398674</guid>
      <dc:creator>Chris_VH</dc:creator>
      <dc:date>2009-03-31T19:55:30Z</dc:date>
    </item>
  </channel>
</rss>

