07-25-2013 02:51 PM - edited 07-25-2013 02:55 PM
In each iteration of a loop, I want to take root-mean-squre of the last 16520 elements of a 1D array (the last 10 seconds of sampled data).
But I'm getting the following error:
I also used "to double" converter, but I'm getting the 2nd error massage:
Solved! Go to Solution.
07-25-2013 02:57 PM - edited 07-25-2013 02:59 PM
Use For Loop to Index ur FXP Array and use Convert it to DBL.
X terminal of RMS Function is a Scalar DBL Element.
07-25-2013 02:58 PM
I'm gonna give it a try.
07-25-2013 03:10 PM - edited 07-25-2013 03:11 PM
If u need work just with some elements in array, use Array Subset function to index and put ur desired lenght.
07-25-2013 03:17 PM - edited 07-25-2013 03:19 PM
I think I should forget "RMS PtByPt" and switch back to ordinary "RMS" with a FIFO queue:
07-25-2013 03:57 PM - edited 07-25-2013 04:00 PM
Here u go.