<?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: TTL measuring frequency in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222883#M123789</link>
    <description>I do not have a osciloscope. I understand LV has a osciloscope.VI.  However I cannot locate one. Do you know where i can get an osciloscope.VI so that I can check the signal. I have attached my TTL circuit file.</description>
    <pubDate>Wed, 01 Jun 2005 01:10:28 GMT</pubDate>
    <dc:creator>labview1958</dc:creator>
    <dc:date>2005-06-01T01:10:28Z</dc:date>
    <item>
      <title>TTL measuring frequency</title>
      <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222470#M123658</link>
      <description>I have a circuit that measures the frequency of a spinning disc. It's output is a TTL signal which is suppose to be compatible with a NI-6025E DAQ card. However I have a program to measure the frequency of a signal which functions well with a TTL signal from a function generator. However it gives an impossible HIGH reading from my own TTL signal circuit. I understand my TTL has a rise time of 100ns and labview only accepts a TTL with a rise time of less than 40ns. Is that correct?</description>
      <pubDate>Tue, 31 May 2005 12:35:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222470#M123658</guid>
      <dc:creator>labview1958</dc:creator>
      <dc:date>2005-05-31T12:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: TTL measuring frequency</title>
      <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222622#M123706</link>
      <description>I do not think rise time would be an issue. Have you verified the freq of your signal by another means (oscope, freq counter)? Noise or glitches on the signal could be causing erroneous results.</description>
      <pubDate>Tue, 31 May 2005 16:00:52 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222622#M123706</guid>
      <dc:creator>AnalogKid2DigitalMan</dc:creator>
      <dc:date>2005-05-31T16:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: TTL measuring frequency</title>
      <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222883#M123789</link>
      <description>I do not have a osciloscope. I understand LV has a osciloscope.VI.  However I cannot locate one. Do you know where i can get an osciloscope.VI so that I can check the signal. I have attached my TTL circuit file.</description>
      <pubDate>Wed, 01 Jun 2005 01:10:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222883#M123789</guid>
      <dc:creator>labview1958</dc:creator>
      <dc:date>2005-06-01T01:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: TTL measuring frequency</title>
      <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222889#M123792</link>
      <description>" Do you know where i can get an osciloscope.VI "&lt;BR /&gt;&lt;BR /&gt;Here : http://www.ni.com/digitizers/&lt;BR /&gt;&lt;BR /&gt;Raghunathan</description>
      <pubDate>Wed, 01 Jun 2005 01:39:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222889#M123792</guid>
      <dc:creator>MogaRaghu</dc:creator>
      <dc:date>2005-06-01T01:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: TTL measuring frequency</title>
      <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222893#M123794</link>
      <description>Unless you have an analog DAQ card a O'scope vi won't be much help. The concern here is when your measured values vary from your expected you need a means of determining which one is closer to reality. The labview measurement can be off for a number of reasons, triggering issues, triggering mulitple time when it should be once, due to noise, or improper trigger settings are one possibilities. Sometimes you find that what your measurement is telling you is correct because what the real signal really looks like isn't what you expected (I had a rpm signal from a transducer that was supposed to be 8 pulses / rev and turned out was really only 4, my measurement was correct).  Do you, per chance, have access to an analog DAQ card?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Putnam Monroe</description>
      <pubDate>Wed, 01 Jun 2005 01:44:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222893#M123794</guid>
      <dc:creator>LV_Pro</dc:creator>
      <dc:date>2005-06-01T01:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: TTL measuring frequency</title>
      <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222913#M123803</link>
      <description>" However I have a program to measure the frequency of a signal which functions well with a TTL signal from a function generator."&lt;BR /&gt;&lt;BR /&gt;Don't worry. You have company here - even I had the same experience. The code that I put together for measuring frequency ( or rpm) was fine with a function generator. But connect the actual signal ( it was also from a opto-isolator ( Sharp make ) with built in Schimdt trigger ) and the readings were all over the place. Running against  a tight deadline I did the next best thing : Simply introduced a F-V convertor based on LM331 and converted the frequency to voltage. The result was so good and linear for the purpose, that the customer almost kissed me. &lt;BR /&gt;&lt;BR /&gt;OK my frequency range was 0-6000 Hz and I easily got away with it. Not sure what your frequency range is. And I am not advocating an F-V as a general solution. To me atleast measuring frequency directly with LV has been a tough thing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Raghunathan</description>
      <pubDate>Wed, 01 Jun 2005 04:30:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/222913#M123803</guid>
      <dc:creator>MogaRaghu</dc:creator>
      <dc:date>2005-06-01T04:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: TTL measuring frequency</title>
      <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/223169#M123904</link>
      <description>Are you certain your TTL circuit is designed and functioning properly? Post your schematic, if possible.&lt;BR /&gt;Do you have a good strong pull-up to +5V.&lt;BR /&gt;How many events/rev on the disc and have you scaled rpm to Hz properly?</description>
      <pubDate>Wed, 01 Jun 2005 14:49:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/223169#M123904</guid>
      <dc:creator>AnalogKid2DigitalMan</dc:creator>
      <dc:date>2005-06-01T14:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: TTL measuring frequency</title>
      <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/223174#M123905</link>
      <description>Sorry I missed your schematic in your 2nd post. But that diagram is pretty generic, and without actual component numbers it's anyone's guess if it is designed properly.&lt;BR /&gt;&lt;BR /&gt;What voltage are you supplying Vcc from? What value does the voltage regulator regulate to (or at least it's P/N)?&lt;BR /&gt;&lt;BR /&gt;Are the circuit's  groundand the DAQ card digital ground tied together?&lt;BR /&gt;&lt;BR /&gt;Have you tested this circuit by itself to make sure it works, at least statically. Use a DMM and make sure you get TTL compatible levels out when the photodiode is blocked and not blocked from the LED.&lt;BR /&gt;&lt;BR /&gt;What wavelenght is the LED and photodiode sensitive to? If ambient (as opposed to IR) you could be picking up other light sources. If so, shield it from ambient light.</description>
      <pubDate>Wed, 01 Jun 2005 14:58:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/223174#M123905</guid>
      <dc:creator>AnalogKid2DigitalMan</dc:creator>
      <dc:date>2005-06-01T14:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: TTL measuring frequency</title>
      <link>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/223220#M123917</link>
      <description>You say that you are getting an impossibly high value. What value are you getting. What value do you expect? Is it a percentage higher or an order of magnitude? How many slots are on the disk that is rotating (how many on/off transistions are you expecting/revolution)? What is the expected rpm of the shaft? As the previous post asked, is the LED/photodiode pair shielded from other light sources? If they are sensitive to any of the ambient light sources you could get the local line frequency or multiples of the line frequency if the sensor is "seeing" room lighting. In the US that would result in a 120Hz signal, in Europe a 100Hz one.&lt;BR /&gt;How do you know that the rise time of your circuit is ~100nS, is that a spec from your sensor assembly's data sheet? I don't think that it should pose a problem, even if the NatInst requirement is 40nS, but ...&lt;BR /&gt;&lt;BR /&gt;Putnam Monroe</description>
      <pubDate>Wed, 01 Jun 2005 15:52:11 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/TTL-measuring-frequency/m-p/223220#M123917</guid>
      <dc:creator>LV_Pro</dc:creator>
      <dc:date>2005-06-01T15:52:11Z</dc:date>
    </item>
  </channel>
</rss>

