LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to plot amplitude vs phase angle ??

Solved!
Go to solution

hii.. i have data that is stored in TDMS format time as X axis and amplitude as Y axis. basically i acquired that data from oscilloscope with 2500 point for each frame. Now i want to plot whole TDMS file with ampliutde as Y axis and phase angle as X axis on one graph how do i plot this ? 

0 Kudos
Message 1 of 7
(4,194 Views)

Hi pady,

 

please explain where your "phase angle" signal is coming from…

 

General answer: to plot "y vs x" data sets I advise to use the XY graph.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(4,185 Views)

thanks, 

acutally m acquiring data from oscilooscope with time i want to convert that time data into phase and plot amplitude vs phase plz help mi. i am new LabVIEW learner.

0 Kudos
Message 3 of 7
(4,159 Views)
Solution
Accepted by topic author pady07

Hi pady,

 

again: YOU have to explain how to convert your time data into phase data!

 

After you explained the conversion the programming part is easy…

Best regards,
GerdW


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

Phase (Φ)= 2πft 

i want phase angle for each amplitude value. i attached below my program file jpg and one TDMS sheet. check attachment and help mi. m extremely sry i don't understand how to explain m totally confused plz see below attachment i hope u get what i want to said 

Download All
0 Kudos
Message 5 of 7
(4,142 Views)

Hi pady,

 

in your phase formula you have two unknown/variable values: f and t.

Where do you measure f? What's the value of f?

 

You CANNOT measure any phase value as long as you only know the amplitudes!

 

On your VI:

Why do you use DDT at all? Why do you convert waveforms to DDT to convert them back to waveforms?

Cleaning up a VI isn't your most important item?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(4,130 Views)

ok sry that is my mistake u said two unknown variable but time data is there and if we consider standard frequency of that oscilloscope that i know is 50 Hz than it is possible to convert into phase or not?? how? 

0 Kudos
Message 7 of 7
(4,100 Views)