LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to plot phase difference

I have calculated phase difference of two waveforms by this process.

 

http://decibel.ni.com/content/docs/DOC-2135

 

but I have to plot the result in a sinusoidal waveform.

can you give me any idea how to do this..

 

-Konica

 

0 Kudos
Message 1 of 11
(5,913 Views)
Are you asking how to generate the sine waves or how to put both of them on the same graph?
Tim
GHSP
0 Kudos
Message 2 of 11
(5,891 Views)
Here ia a simple example that works with the orginal vi.
Tim
GHSP
0 Kudos
Message 3 of 11
(5,889 Views)
Thanks a lot. but I cant open the example.vi because my version is labview8.5.
0 Kudos
Message 4 of 11
(5,851 Views)

Hello,

I saw your code. actually I can calculate phase defference of two waveforms. but my question is, I am calculating phase differences of a continous waveform, so it returns no of phase differences, I have to plot them with no of samples, how to do this? have you any idea?

0 Kudos
Message 5 of 11
(5,836 Views)
Do you want to go pint by point with the difference from two wave forms and plot the difference for each point?
Tim
GHSP
0 Kudos
Message 6 of 11
(5,822 Views)
yes, its like this...
0 Kudos
Message 7 of 11
(5,809 Views)

I took the Y-axis values(phase differences in degree) in an array, but dont understand what to do for the X-axis value. I have  no of sample = 1000.

 

0 Kudos
Message 8 of 11
(5,807 Views)
You can do this.
Tim
GHSP
Download All
0 Kudos
Message 9 of 11
(5,797 Views)
I would also look at a "Lissajous" plot.
0 Kudos
Message 10 of 11
(5,793 Views)