From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert amplitude vs time graph to energy vs time graph

Solved!
Go to solution

Hi,

 

I would like to convert amplitude vs time graph into energy vs time graph. How can I do it?

 

Also want to indicate the time value of 40% of maximum amplitude.

 

Relevant VI and data file are attached below.

 

Please help.

 

 

Download All
0 Kudos
Message 1 of 7
(2,209 Views)

We don't know how to convert amplitude into Energy. Do you have a calibration formula? Just apply it before graphing!

 

If you just want to change the axis label, you can do it in edit mode directly or change it via a property node.

 

You could place a cursor at 40% of the max amplitude once you decide where (max absolute amplitude, max positive amplitude, abs(max negative amplitude), etc.). Do you need help with that?

Message 2 of 7
(2,187 Views)
Solution
Accepted by samitha95

Maybe something like this (assuming the Y values are already calibrated)?

 

altenbach_1-1615139369561.png

 

(And please don't maximize the front panel to the screen!)

 

Message 3 of 7
(2,183 Views)

Thanks @altenbach for your explanation.

 

The energy transported by a wave is directly proportional to the square of the amplitude of the wave. So it has to square the amplitude values to get the relevant energy values. When doing that do it need to put amplitude values to an array before the conversion? or can I directly square the values taken by graph?

 

 

0 Kudos
Message 4 of 7
(2,141 Views)
Solution
Accepted by samitha95

You can just insert a square function into the array of amplitudes right after you index out the columns.

(A graph is an indicator, so operate on the data before it gets there.)

Message 5 of 7
(2,137 Views)

Thanks @altenbach, I'll do like that.

 

Could you please explain the use of below functions I attached in the photo?

0 Kudos
Message 6 of 7
(2,118 Views)

It is a property node of the graph. 

Message 7 of 7
(2,105 Views)