07-29-2021 05:05 AM
I am trying to get the numeric display of frequency and amplitude from the displacement data that i already have. I have used single tone information for doing the same. By doing this i am getting frequency value as 0 and amplitude value as NaN. This is a part of serial port communication using arduino and sensors. I am a beginner and any help would be helpful.
07-29-2021 05:25 AM
Hi Htaneers,
@Htaneers wrote:
I am trying to get the numeric display of frequency and amplitude from the displacement data that i already have. I have used single tone information for doing the same. By doing this i am getting frequency value as 0 and amplitude value as NaN. This is a part of serial port communication using arduino and sensors. I am a beginner and any help would be helpful.
"NaN" is a valid floating point value…
How is "single tone information" a part of "serial port communication" using an "Arduino and sensors"?
To get the help you want you need to provide much more information and ideally attach your VI(s) with some useful data included…
07-29-2021 06:37 AM
My guess is you are trying to get tone information out of a single sample or very few samples.
07-29-2021 08:20 AM
@crossrulz wrote:
My guess is you are trying to get tone information out of a single sample or very few samples.
I'm going to learning mode a bit here, is that because one sample only gives you amplitude and says nothing about the waveform?