Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Comparing two numeric or waveform channels

Solved!
Go to solution

Hello,

 

How to compare two numeric channels or y axis of the waveform channels of same lengths and find out the row which has approximately the same value in both the channels. Say for example, we have two numeric channels X and Y which has approximately the same value in row 15. I need to write a script to find out in which row both the channels coincide.

 

Regards,

X.Ignatius

0 Kudos
Message 1 of 3
(5,872 Views)
Solution
Accepted by topic author Igni

Hi X.Ignatius,

 

I would subtract the channels and use the CHNFIND function to search for channel values which are zero or nearly zero.

 

Greetings

Walter

0 Kudos
Message 2 of 3
(5,866 Views)

Dear Walter,

 

Thanks for the solution. It worked.

 

Regards,

X. Ignatius

0 Kudos
Message 3 of 3
(5,835 Views)