Hi,
I want to calculate the frequency of a time based signal, which looks like a TTL signal for most of the time. The main goal is to calculate the flow rate of a turbine through the obtained frequency. The frequency of the turbine ranges from 0 to 2000 Hz. I tried to calculate the frequency with a "Tone measurement" block, but this gave me bad results when there is no flow occurring. From my understanding, the input voltage signal should be kind of constant when using this block, which isn't the case for my application, since there's a lot of noise when there is no flow through the turbine.
I'm using a NI 9178 chassis and a NI 9205 card.
I've attached a picture of the TTL signal (20240529_TTL signal), which I measure with a different LabVIEW program. From my understanding, the signal looks fine. Afterwards I did rebuild the example used in this thread to count the pulses. When I run the program (attached, 20240523_MR_LabVIEW Counter simple) the counter isn't counting anything. Some help would be appreciated!
Thank you