03-07-2021 11:18 AM - edited 03-07-2021 11:19 AM
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.
Solved! Go to Solution.
03-07-2021 11:39 AM
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?
03-07-2021 11:50 AM
Maybe something like this (assuming the Y values are already calibrated)?
(And please don't maximize the front panel to the screen!)
03-07-2021 05:18 PM
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?
03-07-2021 06:35 PM
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.)
03-07-2021 08:24 PM
Thanks @altenbach, I'll do like that.
Could you please explain the use of below functions I attached in the photo?
03-07-2021 11:38 PM
It is a property node of the graph.