LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I measure the frequency of an analog signal?

Hi,  I am trying to measure the frequency of VAC signal coming from a gas turbine engine at my university.  If I can get the values of frequency, I can determine the speed (RPM) of the engine.  I am fairly new to LabVIEW and I have been looking through manuals like crazy in order to find out how to obtain the frequency.  I have measured the signal with an oscilliscope and the highest frequecy will be about 1.5kHz.  I am currently using a USB-6218 and it can collect the voltage signal with ease, but it won't give be analog frequency so simply.  Can anyone explain a way for me to obtain the frequency values?  And if you could show or tell me in a very simple way (because I am not very fluent in LabVIEW yet), that would be amazing!  Thanks!

0 Kudos
Message 1 of 8
(3,351 Views)
Did you read the manual for the DAQ device? It has two counters. Use one for your low frequency signal. There are programming examples that come with LabVIEW.
Message 2 of 8
(3,345 Views)

Thanks, I'll try that.

0 Kudos
Message 3 of 8
(3,338 Views)

Just to make sure...will it be able to recognize the frequency as the engine speeds up and slows down.  And the signal has a really awkward waveform too. It's not exactly a nice square waveform like in the manual.

0 Kudos
Message 4 of 8
(3,333 Views)

Check this out:

 

0 Kudos
Message 5 of 8
(3,323 Views)

Okay. I have tried using your program but when I am testing it with a signal gernerator, the values keep goin up and they don't stop.  It looks like it is counting rather than showing frequency.

0 Kudos
Message 6 of 8
(3,295 Views)

I think you need to change count edges to frequency for the Polymorphic Vi selector

0 Kudos
Message 7 of 8
(3,288 Views)

But I think you can relate count edges to frequency if I am not mistaken.

You see how many edges you have(N)

and how many count numbers (n)

number of rotations n/N

divide by time(minutes) thats rpm

0 Kudos
Message 8 of 8
(3,284 Views)