I discuss some of the issues in another thread : http://forums.ni.com/ni/board/message?board.id=170&message.id=124898
I'm not sure that you should be seeing 30 dB difference, but yes, the sampling rate may be part of it, and how many samples you are evaluating. If you have a steady state sine wave, and aren't looking for fairly quick transients, the longer that you can sample (the more samples evaluated) the better. As the number of samples goes up so does the resolution of your FFT (the bins get narrower), meaning that the average energy in each bin is more representative of your actual signal. Are you using any windowing of the data, filtering of the input?
P.M.
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion