I would to obtain a integral calculation of a curve on DAC.
I must to obatin this result ( capture.jpg) starting with an sinusoidal curve.
you have DAC, sorry my fault. I have a few experiences with DIAdem DAC.
But I think you have to options:
1) use a funtioc (if exists)
2) write your own code for calcutaling integration
It seems that you mean to calculate the integral of the absolute values of the sine wave. For DAC have a look at the attachment.
That's doesn't work 😞
When i mutiplied two signals and intregated it , with NAVIGATOR & ANALYSIS , i found it ( Capture 5)
But i must use DAC, and when i use your systems, he give me a decrease curve.
Have you a solution?
If the attached DAC scheme doesn't work for you I need a detailed description what you would like to do.
The systems is attached ( capture 7).
I receive the voltage and current datas by a DT hardware connected on my PC via DIADEM.
I want to use it for to know the consumption.
The sub block „Int_Calc“ calculates the integral of a signal. The result is the same as the result of the basis mathematic function in ANALYSIS.
The block “Formula 2” adds two signals. If you need to calculate the absolute values before integrating then keep the block “Formula 1”. If not, delete it and connect “Formula 2” with the sub block.
If this doesn’t solve your problem, then I have no idea what you would like to do.
Greetings from Aachen