Hello,
you must first read in your signal.
http://zone.ni.com/devzone/cda/epd/p/id/583
You get an data array.
You must analyse that array to get the frequenz and amplitude.
To do that you can use first the AutoPowerSpectrum()-function and then the PowerFrequencyEstimate()-function.