LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compare similar shape Waveforms

Hi,

 

I want to compare two waveform having same shape and same sampling time but time shifted. I am comparing Y values sample-by-sample in lab view. But due to timing mismatch between two waveform, i am not able to compare similarity between two waveform. Can you please suggest a method how we can do?

 

Attached is example of waveform.

 

Thanks,

Sunil Kumar

0 Kudos
Message 1 of 6
(3,148 Views)

No attachment found.

As stated you will see the difference if you compare two waveforms straight within which has time shifted in one waveform.

Do you need to eliminate time shift?

Attach the Developed vi.

 

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 6
(3,139 Views)

Hi Palanivel,

 

Please find attached example of waveform. Actually we have multiple waveforms of same shape and have same sampling rate. But due to timing mismatch I am not able to compare waveforms by using point to point Y Value comparison.

 

Thanks,

Sunil Kumar

0 Kudos
Message 3 of 6
(3,136 Views)

Do you want to eliminate the time shifting?

If yes, Derive a algorithm/ use filtering option to remove the time shift data and compare the exact values where both the waveforms matches each other.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 6
(3,120 Views)

No, I don't want to ignore time shifting.

 

Please let me know if you need any more waveforms information.

 

Thanks,

Sunil Kumar

0 Kudos
Message 5 of 6
(3,115 Views)

Have you studied Signal Analysis?  The first thing you want to do is to determine the magnitude of the Time Shift -- there is a method, called cross-correlation, that will give you a statistical estimate for this.  Once you know the shift, you can do whatever you want with the waveforms.

 

Before using any analysis technique, I strongly recommend learning the theory behind it, otherwise you will "get answers", but they may be meaningless because you ignored the assumptions and caveats associated with the methods you used.

 

Bob Schor

0 Kudos
Message 6 of 6
(3,104 Views)