From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Signal input with the function : harmonic distortion

Hello everyone
I'm measuring some variables like acceleration, speed. among others and I want to analyze the harmonic waves. I am using the harmonic distortion function, but I came across a problem. The function as we can see in the image asks for an input signal and I want it to be the graphics that I am doing in real time, such as acceleration. The problem is that I have waveform chart output (in red) and I need to have an input to put in the harmonic distortion function (in blue).

I await answers, thank you very much.

Best Regards 

Ricardo Rebelo 

 
 

 

 

 

sinal.GIF

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

Hi Ricardo,

 

that function expects a waveform, but you are creating just a cluster of 3 elements for those charts.

You need to create a waveform instead!

Best regards,
GerdW


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

How do i do that ?

0 Kudos
Message 3 of 4
(1,018 Views)

Hi Ricardo,

 

a waveform consists of t0, dt and an Y array. There is a whole functions palette dedicated to waveforms.

And there is the LabVIEW help explaining all those functions in that palette…

Best regards,
GerdW


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