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
(808 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?


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Message 2 of 7
(786 Views)
Solution
Accepted by topic author 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!)

 


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Message 3 of 7
(782 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
(740 Views)
Solution
Accepted by topic author 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.)


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Message 5 of 7
(736 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
(717 Views)

It is a property node of the graph. 


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Message 7 of 7
(704 Views)