07-14-2010 11:06 PM
07-15-2010 07:48 AM
sharir,
It is not clear exactly what you are asking.
You mention a 3-axis accelerometer and then only talk about X and Y. Are you using the Z-axis data at all?
By maximum displacement are you referring to the vector produced by the X value and Y value at a particular time t ( or equivalently at index i of the arrays)? The magnitude of the vector is the square root of the sum of the squares of the components: r = sqrt(x^2 + y^2).
Lynn
07-16-2010 03:33 AM
Hi Lynn,
Yes, though I used 3-axis piezo sensor, I only measure on X and Y direction.
I do agree with your calculation of vector magnitude but I am looking if there any other way to analyse it. I have attached some screenshot for reference. Perhaps there are any VI in the labview which can be used to measure the data right away?
Thanks,
Sharir
07-16-2010 07:38 AM
Converting the X and Y arrays to a complex array and finding the maximum magnitude is pretty easy. Not a built in VI but a few simple numerical primitives will do it.
Attached VI is in LV2009.
Lynn