06-04-2015 10:23 AM
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
06-05-2015 10:54 AM
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