LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NaN

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.

0 Kudos
Message 1 of 4
(1,434 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(1,431 Views)

My guess is you are trying to get tone information out of a single sample or very few samples.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 4
(1,416 Views)

@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?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 4
(1,399 Views)