Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Normalization of two different signal

Hi

 

I have two different signal that is Ch1 and Ch2

 

  

2 signals.JPG

 

Then I used Normalize Waveform vi to tranform the waveform data so that its maximun is 1 and its minimum is -1 just like the signals below.

 

norm signals.JPG

 

Supposely when I divide this two signal, I should have an output like signal below

 

div true.JPG

 

 

but what I get is like this signal below

 

div false.JPG

 

Why is this happen? I attached the VI here

 

Thanks

 

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

Hey yusof,

 

You are dividing by zero at the points where it diverges. Otherwise, it just fluctuates between 1 and 1 which is likely just due to quantization. Hope that helps!

John B.
Embedded Networks R&D
National Instruments
Certified LabVIEW Developer
0 Kudos
Message 2 of 4
(3,216 Views)

it helped a lot sir, thanks

 

0 Kudos
Message 3 of 4
(3,055 Views)

No problem.

John B.
Embedded Networks R&D
National Instruments
Certified LabVIEW Developer
0 Kudos
Message 4 of 4
(3,039 Views)