<?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 obtaining encoder counts after 2ms in Counter/Timer</title>
    <link>https://ni.lithium.com/t5/Counter-Timer/obtaining-encoder-counts-after-2ms/m-p/113224#M1007</link>
    <description>I need to obtain the velocity of the wheels which is attached to a rotary encoder. Currently i am using the DAQ6024e card.&lt;BR /&gt;&lt;BR /&gt;i set my encoder to initial count of 1000000 and i want to read the counts after every 2ms.&lt;BR /&gt;&lt;BR /&gt;I know how to obtain the counts from the encoder but how do i read the counts after every 2ms?&lt;BR /&gt;&lt;BR /&gt;can someone advise me on how to program to read the encoder counts after every 2 ms?&lt;BR /&gt;&lt;BR /&gt;By taking the difference in the counts every 2ms, i will be able to obtain the velocity by dividing the counts by 2ms.&lt;BR /&gt;&lt;BR /&gt;can someone kindly advise?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Leroy &lt;BR /&gt;</description>
    <pubDate>Mon, 05 Jan 2004 04:45:12 GMT</pubDate>
    <dc:creator>Leroy</dc:creator>
    <dc:date>2004-01-05T04:45:12Z</dc:date>
    <item>
      <title>obtaining encoder counts after 2ms</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/obtaining-encoder-counts-after-2ms/m-p/113224#M1007</link>
      <description>I need to obtain the velocity of the wheels which is attached to a rotary encoder. Currently i am using the DAQ6024e card.&lt;BR /&gt;&lt;BR /&gt;i set my encoder to initial count of 1000000 and i want to read the counts after every 2ms.&lt;BR /&gt;&lt;BR /&gt;I know how to obtain the counts from the encoder but how do i read the counts after every 2ms?&lt;BR /&gt;&lt;BR /&gt;can someone advise me on how to program to read the encoder counts after every 2 ms?&lt;BR /&gt;&lt;BR /&gt;By taking the difference in the counts every 2ms, i will be able to obtain the velocity by dividing the counts by 2ms.&lt;BR /&gt;&lt;BR /&gt;can someone kindly advise?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Leroy &lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jan 2004 04:45:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/obtaining-encoder-counts-after-2ms/m-p/113224#M1007</guid>
      <dc:creator>Leroy</dc:creator>
      <dc:date>2004-01-05T04:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: obtaining encoder counts after 2ms</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/obtaining-encoder-counts-after-2ms/m-p/113225#M1008</link>
      <description>Hello Leroy,&lt;BR /&gt;&lt;BR /&gt;You can obtain the counts every 2 ms by using a buffered, counter operation.  I would suggest to use the 'Measure Buffered Period (DAQ-STC) VI' which is a shipping example within LabVIEW.  For this example, the count will be transferred on every edge of the signal connected to the counter's gate.  &lt;BR /&gt;&lt;BR /&gt;You could configure the other counter on the DAQCard to generate a pulse train that has a period of 2 ms and then use the output of that counter as the gate for the counter configured for buffered, period measurements.  This should work for you.&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Todd D.&lt;BR /&gt;NI Applications Engineer &lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jan 2004 18:48:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/obtaining-encoder-counts-after-2ms/m-p/113225#M1008</guid>
      <dc:creator>RIO-Todd</dc:creator>
      <dc:date>2004-01-05T18:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: obtaining encoder counts after 2ms</title>
      <link>https://ni.lithium.com/t5/Counter-Timer/obtaining-encoder-counts-after-2ms/m-p/113226#M1009</link>
      <description>what if i am using labwindow?&lt;BR /&gt;&lt;BR /&gt;is there a sample program for labwindow to perform the above function? &lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jan 2004 02:10:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Counter-Timer/obtaining-encoder-counts-after-2ms/m-p/113226#M1009</guid>
      <dc:creator>Leroy</dc:creator>
      <dc:date>2004-01-07T02:10:09Z</dc:date>
    </item>
  </channel>
</rss>

