LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Integration of an acceleration signal using a circular array is not giving the correct answer

Hi Ali,

 

when you want to use this in a continuous mode you should NOT empty the buffer in between. This concept is known as "uninitialized shift register" in LabVIEW.

 

All you have to do is to create the array on the first run (or when the array is empty):

check.png

 

Or you use one of those nice PtByPt-functions:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 12
(234 Views)

Hello Gerd,

 

thanks for the help.

 

I have thought of your method. i tried to do the integration with two different methods, still not able to get consistent values of integration.

I must say that not initialising the array at every new iteration of the outer loop has improved the performance of the integration.

 

Regards

Ali

Download All
0 Kudos
Message 12 of 12
(224 Views)