LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Aligning data for comparison with two diffrent acquisition timestamps

I have 2 different digital plots on an X-Y Graph.  They consist of 2 differently sampled datasets, each with its own timestamp that are plotted on the same graph.  What I want to do is find a fast way to search the entire time range to see if there is ever an instance where each of the 2 signals are ever simultaneously "1".  If I search and compare the data arrays themselves, each array would require an interpolation between elements so that I could line them up.

 

Is there a benefit like converting these two to waveforms  to find this sweet spot where both waves = 1?

0 Kudos
Message 1 of 2
(2,283 Views)

I wonder how hard it would be to re-create new arrays with the same data, only higher time precision.  Then you can go through and compare them at a smaller scale.  


If this data was analog data instead of boolean data, I was thinking perhaps doing a curve fitting for each and then solving for a set of equations using Matrix Algebra, but I'm not sure if that is possible with the data you have.  Maybe others have ideas on how to do this with your data? 

0 Kudos
Message 2 of 2
(2,259 Views)