LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot two signals against each other ,both having different sampling rates and time scales

Hi everyoneSmiley Happy

I have two signals say A and B. Both are in waveform format . Both signals varies with time, but have different sampling rates.
after the measurements are made, i need to plot signal A vs Signal B. How can this be acheived.

Thanks

-----------------------------------------------------------------------------------------------------------------------------
Waiting For the inner calling 🙂


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

Just yesterday we had a very similar discussion here!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,156 Views)

thanks gerdw ,
does the method mentioned in that post works with waveform graphs also. there its xy graphs right?

-----------------------------------------------------------------------------------------------------------------------------
Waiting For the inner calling 🙂


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

djac91 wrote:

does the method mentioned in that post works with waveform graphs also. there its xy graphs right?


Waveform graphs require  that the data has equal spacing in the x (or time) dimension).. If you graph two random signals against time, the result will generally not be linear in x, so the answer is no. A waveform graph will not work. Of course you could use similar code to graph two different waveforms against each other, but you need an xy graph to display the result.

 

What kind of problem are you trying to solve?

0 Kudos
Message 4 of 6
(3,145 Views)

Hi djac,

 

you can adapt this to your needs! To plot signal A vs. signal B you should use  XY graphs anyway…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(3,144 Views)

Thanks for the suggestions Smiley Happy

-----------------------------------------------------------------------------------------------------------------------------
Waiting For the inner calling 🙂


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