LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waterfall display

Hi,

I'm displaying the sample on spectrum (Waveform graph). Parallelly I want to display the same samples in "Waterfall" spectrum.

Please find the enclosed VI and help me for Waterfall plot.

 

Regards,

S Nagaraju.

0 Kudos
Message 1 of 16
(4,034 Views)

You need to explain a little more what you intend.  Your example shows one set of data being plotted over and over again -- this makes no sense.  I think I may know what you want, and can make some suggestions, but you need to provide more information and, perhaps, an example of what you want the final output to resemble.  Be sure to include the origin and acquisition of the data being plotted.

 

Bob Schor

0 Kudos
Message 2 of 16
(4,013 Views)

Hello Bob Schor,

Actually I'm getting the samples from ADC board via Ethernet over Tcp/ip link. I need to perform the FFT for the samples and display the spectrum (frequency Vs amplitude). Upto this I'm able to do. But, as per user requirements I want to show the same output data in waterfall display like real-time spectrum. 

One set of samples I captured and and attached in that array. 

 

Kindly help me. 

 

Regards, 

S Nagaraju. 

 

0 Kudos
Message 3 of 16
(4,008 Views)

Do a little more work yourself.  You've shown code to acquire one sample and plot it, but there's nothing in the code about multiple samples (how many?  how often?) nor an example of the plot you are trying to make.  [I think I know what you want, but you are the one with the "user requirements" and presumably understand what you mean by "waterfall display like real-time spectrum".  If you can't describe it in words, or show a picture of it, then you can't program it, and should go back to the User and tell him/her this.]

 

Here is a hint that may help you in your thinking about what I am asking -- are you talking about a plot/graph?  How many axes does it have?  What are the axes (what data-specific variables do they represent)?

 

Bob Schor

0 Kudos
Message 4 of 16
(3,999 Views)

Hello Bob Schor,

Actually the example code which was shared is a part of my main application. For demo purpose i have taken one set of samples and presented on the waveform graph continuously. Every time I'll get 20K samples for every 1 Sec. 

 

I'm talking about FFT output waveform graph with two axis Frequency and Amplitude.

The example screen is attached here.

eViewDetails-1024x569.png

Please help me.

 

Regards,

S Nagaraju.

0 Kudos
Message 5 of 16
(3,977 Views)

Looks to me like you want a spectrogram.

 

Give "STFT Spectrogram PtByPt.vi" a try (use quick drop)...

0 Kudos
Message 6 of 16
(3,966 Views)

I tried the same, but not able to plot properly.

Please find the enclosed VI.

Additional Info: Total 20480 samples, Fs=5000MHz, Measure Frequency = 1000MHz.

Kindly help me.

 

Regards,

S Nagaraju.

0 Kudos
Message 7 of 16
(3,956 Views)

Set the intensity graph z-scale to autoscale.

0 Kudos
Message 8 of 16
(3,947 Views)

I made z-scale to auto scale, but there no much difference.

0 Kudos
Message 9 of 16
(3,942 Views)

I don't have your DAQ system. I replaced it with a generated sine waveform, and it does seem to work...

 

So does the spectrogram seem to be what you want?

0 Kudos
Message 10 of 16
(3,929 Views)