ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(5,217 Views)

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



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
(5,192 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
(5,158 Views)
0 Kudos
Message 4 of 8
(5,144 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
(5,133 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
(5,092 Views)

why my attachment is not shown properly!

0 Kudos
Message 7 of 8
(5,082 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
(5,054 Views)