Use DAQ Assistant to acquire signal from Analog Input, and use Tone Measurement VI to measure its fundamental frequency, but be reminded that highest measurable frequency is analog input sampling rate/2.
If you wish to measure higher frequency, you must build a pulse shaping circuit and input pulse to counter for frequency measurement.