03-03-2011 09:10 AM - edited 03-03-2011 09:11 AM
Hi I must integrate sampled signal. In labview 7.1 is good checked blocks for it. But where is equivalent in labview 2010?? I cant find it.
Solved! Go to Solution.
03-03-2011 09:20 AM - edited 03-03-2011 09:21 AM
http://zone.ni.com/reference/en-XX/help/371361G-01/gmath/integral_xt/
Did you try the search capability for the functions palette?
03-03-2011 10:01 AM - edited 03-03-2011 10:02 AM
Ok. Thank you. I used this function now but I get empty array on output. My table are filled by the signs NaN. I would like get as I show in annex.
03-03-2011 10:12 AM
Please upload your VI along with saved data, or if you're reading the data from a file then please upload your file.
03-03-2011 11:07 AM - edited 03-03-2011 11:10 AM
This is my VI, that i have now
03-03-2011 12:42 PM
Hi limatorek,
The problem is that the first element in the array you are trying to integrate it "NaN," or "Not a Number." Having this number in your array is causing the integral to always be NaN.
I believe that the the first element is becoming NaN because you are subtracting 4 from your array index prior to the array having 4 elements in it. You are basically going out of the range of the array (trying to acess the -4 element) and this is causing the average function to result in NaN.
Hope this helps!
Chris V
03-03-2011 03:01 PM
Chris thank you very much. You are rigth. Now everythink is ok.
Greating from Poland.
Limatorek
03-03-2011 04:03 PM
Please mark Chris' response as the solution, rather than your message. You can unmark a solution using the Options menu right above the message to the right.