Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Time Domain Math VI I am trying to integrate a data streem over time.

I am using the Time Domain Math Express VI to do integration.  I am reading in data and integrating it.  Then summing it over time.

The problem I am having is that I must divide by the number of samples integrated to get the correct number.  How can I do this with a contious reading?

 

Thanks

Randy

 

0 Kudos
Message 1 of 2
(4,133 Views)

Hi Randy,

 

Thank you for using our forums. When you configure this function to get an integral, it is going to be performing an accumulation. You can see the specific formula in the next document:

Using the Time Domain Math Express VI:

http://digital.ni.com/public.nsf/allkb/B6CB07B09282036F86256D11006D9D4A

 

Considering this, at the end you will have to divide by the sampling rate of the signal that you are integrating (and not by the number of samples). There is an example performing this here:

Using the Time Domain Math Express VI for an Integral

https://decibel.ni.com/content/docs/DOC-13504

 

What is the specific issue that you are having? It would be helpful if you show a simplified VI showing this problem.

 

Regards,

Andres G.

NI

0 Kudos
Message 2 of 2
(4,115 Views)