LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compare two waveforms

Hi,

 

In my application, I will be comapring a waveform acquired from a USB based NI data card and comparing it with a master already stored in PC. To simulate this condition, I wrote a simple program. I used the express vi for comparing 2 signals. However I want to change the tolerance of acceptance to with within the 5% or 10% of the master.

I tried using the settings that the express vi provides, but doesnt seem to work for me accurately.

Is there any other way to do this?

 

I am attaching my vi's with this.

 

Thanks!

Download All
0 Kudos
Message 1 of 8
(4,621 Views)

I would change the code to be something more like this.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 8
(4,596 Views)

Hello,

 

I tried doing the changes you suggested. But I am not getting the desired output.

Am I doing something wrong?

 

I am attaching my vi.

 

Thanks

0 Kudos
Message 3 of 8
(4,562 Views)
0 Kudos
Message 4 of 8
(4,548 Views)

Hello!

 

Thank you for your response, I have Labview 2009 version. Can you send for the same?

 

Thanks in advance

0 Kudos
Message 5 of 8
(4,537 Views)
saved to the version of 2009, but I'am not sure if it works like the original one.
0 Kudos
Message 6 of 8
(4,496 Views)

why my attachment is not shown properly!

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

Hi!

 

Thank you for your response. 

It still gives me an error when I try to open. Anyway, I have made another vi which works fine but I have yet to check it on hardware. Will post it as soon as I check it.

 

Thank you all for your responses. 🙂

0 Kudos
Message 8 of 8
(4,458 Views)