Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

how do you divide signals in labview

Hi there, is the a function to get H(w) = Y(w) / X(w) if I have computed Y(w) and X(w) using the spectral analysis palette Fourier transform?

0 Kudos
Message 1 of 8
(5,019 Views)

Mancane,

 

The divide function will work for Signals, Arrays, Waveforms, along with single values. See below.

Divide Signal.png

 

Logan H

National Instruments
Applications Engineer
0 Kudos
Message 2 of 8
(4,997 Views)

Hi logan,

 

i am also trying to get similar thing..but am using Sound and vibration suite along with labview to get transfer function of 2 microphones which measures sound...

the input is coming from DAQ and i have to find H(w) = Y(w)/X(w) and Y(w) is cross spectrum of mic 1 and 2 and X(w) auto spectrum of mic 1..(i am measuring sound)...here

y(w) is complex and x(w) is magnitude..am attachinf the block diagram..the pbs i am getting is, the x(w) is having zero in some frequencies which is definitely wrong..

help will be much appreciated..thanks!!

0 Kudos
Message 3 of 8
(4,983 Views)

Hi Rajavel,

 

It’s really not clear exactly what you are trying to do. Also, you can’t see the controls and indicator values with an image of the block diagram. You should post your code with values saved and/or a screen capture of the front panel. Is the power spectrum returning values at 0? Are you using dB scale or linear? Have you looked in the example finder under the sound and Vibration palette for examples of code for simple applications? While these examples may not do exactly what you wish, they are a good jumping off point to develop your own application.

Matt
Applications Engineer
National Instruments
0 Kudos
Message 4 of 8
(4,895 Views)

Hi Matt,

 

what i am  trying to do is, using DaQ, i am measuring 2 sound data and trying to take cross spectrum and auto spectrum..now, the auto spectrum has units of dB or volt but cross spectrum doesnt have that option..the pic i have attached is same..DAQ output is splitted in to two and using cross spectrum and power spectrum.vi, the out put is stored in excel...

 

my Q is, what is the unit of cross spectrum output if i use the vi which is in SVtoolkit??

 

 

0 Kudos
Message 5 of 8
(4,881 Views)

Hi Rajavel,

 

The units of that VI are in EU (Engineering Units) and are the same units that you input. The “Detailed Help” for that function can tell you this and is a good place to begin searching for more information about any VI in LabVIEW. Begin by pressing CLT H to bring up context help and then move your mouse of the VI in question. There should be a link for Detail Help for most Vis.

Matt
Applications Engineer
National Instruments
0 Kudos
Message 6 of 8
(4,856 Views)

Hi..anyone knows what is the diff between "Averaged Cross Spectrum (Real-Im)" and "SV Cross Spectrum (Real-Im)"..and when to use  each one???

thx.

0 Kudos
Message 7 of 8
(4,815 Views)

The main difference is that one is made fo rthe Sound and Vibration package, and the other is not.  With that said, the SV VI incorporates Engineering Unit Scaling, Unit Label, and Spectrum info.  Other than that, they will functoin mostly the same.  You will want to use the SV VI when using other SV VIs.

 

Best,

Adam
Academic Product Manager
National Intruments
0 Kudos
Message 8 of 8
(4,774 Views)