# LabVIEW

cancel
Showing results for
Did you mean:

Solved!
Go to solution

## Convert amplitude vs time graph to energy vs time graph

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.

Message 1 of 7
(808 Views)

## Re: Convert amplitude vs time graph to energy vs time graph

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
What does "Engineering Redefined" mean??
Message 2 of 7
(786 Views)
Solution
Accepted by topic author samitha95

## Re: Convert amplitude vs time graph to energy vs time graph

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

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

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

## Re: Convert amplitude vs time graph to energy vs time graph

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?

Message 4 of 7
(740 Views)
Solution
Accepted by topic author samitha95

## Re: Convert amplitude vs time graph to energy vs time graph

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
What does "Engineering Redefined" mean??
Message 5 of 7
(736 Views)

## Re: Convert amplitude vs time graph to energy vs time graph

Thanks @altenbach, I'll do like that.

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

Message 6 of 7
(717 Views)

## Re: Convert amplitude vs time graph to energy vs time graph

It is a property node of the graph.

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