LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with FFT data processing

Solved!
Go to solution

@mcduff wrote:
  1. Accept the uncertainties in your real time measurement

Hello Mcduff, All,

 

I think I can accept the uncertainties since its realtime and nearby value is also helpful in my case.

 

Although is there is a way I can keep the magnitude graph stable. because of so many points, I think the graph is constructed frequently. 

 

To make it look more closer to a plot similar to the attached Matlab plot, should I process data at certain blocks at a time (eg. 100 blocks at one instance ) or is there any other way to do it.

Can anyone help me with that.

 

The Lab view attached plot is same as Matlab attached plot, but changes frequently and is not stable to see the peaks,

 

Is there way I can keep it stable. I have attached my VI as well.

 

 

 

0 Kudos
Message 21 of 29
(2,020 Views)

@layman93 wrote:

@mcduff wrote:
  1. Accept the uncertainties in your real time measurement

Hello Mcduff, All,

 

I think I can accept the uncertainties since its realtime and nearby value is also helpful in my case.

 

Although is there is a way I can keep the magnitude graph stable. because of so many points, I think the graph is constructed frequently. 

 

To make it look more closer to a plot similar to the attached Matlab plot, should I process data at certain blocks at a time (eg. 100 blocks at one instance ) or is there any other way to do it.

Can anyone help me with that.

 

The Lab view attached plot is same as Matlab attached plot, but changes frequently and is not stable to see the peaks,

 

Is there way I can keep it stable. I have attached my VI as well.

 

 

 


Your Matlab plot looks more stable because you are processing a longer array; there is a lot of jitter in the short time acquisition.

 

You can try to make a running average, the noise should decrease as the square root of N, where N is the number of averages. Here is a quick implementation. You can make it reset after X times; hint use quotient and remainder.

 

Snip.png

 

mcduff

0 Kudos
Message 22 of 29
(2,017 Views)

Hello Mcduff,

 

I am not sure how to implement it.

 

Can you please walk me through it.

 

I am attaching what I tried.

 

 

0 Kudos
Message 23 of 29
(2,004 Views)
Solution
Accepted by topic author layman93
Message 24 of 29
(1,988 Views)

Hello mcduff,

 

Sorry to open this thread again. But I could not find help anywhere.

 

I am having trouble generating a waterfall plot when I use the NI-Daq.

 

Attached is my VI, How do I fix this.

 

 

0 Kudos
Message 25 of 29
(1,925 Views)
0 Kudos
Message 26 of 29
(1,915 Views)

@RavensFan wrote:

Continue this thread's conversation at https://forums.ni.com/t5/LabVIEW/Generate-watefall-plot-with-Ni-DaQ/td-p/406896


(It looks like the link got corrupted 😉 - should it instead be https://forums.ni.com/t5/LabVIEW/Generate-watefall-plot-with-Ni-DaQ/m-p/4069398? That's where layman93's link points.)

Message 27 of 29
(1,912 Views)

No idea how I could have copied and pasted that wrong.

0 Kudos
Message 28 of 29
(1,909 Views)

Hello Layman,

 

I am trying to implement real-time FFT, but I am trying to do it by using LINX. I won't use the same logic as you have used. Can You please share with me your Arduino code as well? to get the better Idea.

 

Thank you so much for your attention and participation.

0 Kudos
Message 29 of 29
(1,791 Views)