LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save a frequency spectrum as a static variable?

Hi...
I need a little help from the experts here.

-First ,I want to SAVE a Frequency spectrum- taken from a voice signal- just temporarily to the next step of the program.

[This represents the spectrum of the background(noise) before applying the desired signal]

-After that, I want to substract the saved spectrum-in the same program- from the current spectrum.
[In order to get the spectrum of the useful signal without the effect of the noise ]

-Now, I know only how to obtain the current frequency spectrum,as it's shown in the attached image.

Note: I'm using LabVIEW 8.5 Professional version.
0 Kudos
Message 1 of 2
(2,604 Views)

Hi BME.RE,

 

 If I understand correctly what you are trying to do, than you do not need to save the signal, just use the wiring tool to pass the current spectrum and the noise spectrum to the subtract function.

 

In LabVIEW typically you would use the wire to pass the data from one step to the next step of your application. Of course there are other data transfer methods as well, but the simplest is to use the wire whenever is possible. Check this online LabVIEW tutorial to find out more about local and global variables as well.

 

I hope this helps.

 

Barna Dobai

National Instruments 

0 Kudos
Message 2 of 2
(2,563 Views)