From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

diadem

Hello, 

 

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. 

 

please help!

 

Thanks 

 

Antoine  

0 Kudos
Message 1 of 15
(5,878 Views)

Hi,

did you try: Analysis -> Basic Mathematics -> Integrate function?

Simyfren

0 Kudos
Message 2 of 15
(5,872 Views)

Hello, 

 

yes but i must to stay on DAC ... My datas comes from directly of a DT Hardware....

0 Kudos
Message 3 of 15
(5,870 Views)

oh,

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

Simyfren

0 Kudos
Message 4 of 15
(5,861 Views)

Hello Antoine,

 

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.

 

Greetings

Walter

0 Kudos
Message 5 of 15
(5,860 Views)

thks for your answer 

0 Kudos
Message 6 of 15
(5,856 Views)

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? 

 

 

0 Kudos
Message 7 of 15
(5,845 Views)

If the attached DAC scheme doesn't work for you I need a detailed description what you would like to do.

 

Greeting

Walter

0 Kudos
Message 8 of 15
(5,840 Views)

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. 

0 Kudos
Message 9 of 15
(5,834 Views)

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
Walter

0 Kudos
Message 10 of 15
(5,826 Views)