ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

finding the displacement from the accelerometer signals using integration block

hi 

I am using the LabVIEW for finding the displacement form the accelerometer signals by performing integration, but when i am recording the displacement signals, it is aligning with the time step data number intend of aligning with the time steps.

I am sharing the block diagram where i am using the DAQ assistance for taking the data from the accelerometer and laser sensor. can you please help me to correct it.

imran97_0-1701408622116.png

thank you.

0 Kudos
Message 1 of 6
(1,225 Views)

Hi imran,

 


imran@97 wrote:

I am sharing the block diagram where i am using the DAQ assistance for taking the data from the accelerometer and laser sensor. can you please help me to correct it.


No.

We cannot edit/run/debug images in LabVIEW.

Even more when those images mainly show ExpressVIs…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(1,199 Views)

I am attaching the VI file. here I am using the accelerometer and laser sensor and performing the double integration for finding the displacement form the acceleration signals, I am also using the curve Fitte block for removing the ramp from the integrated signal. 

 from this I am getting the displacement, but that displacement is aligned with the data point not with the time steps that i am giving to the integration block. I want to get to be align with the time steps. 

0 Kudos
Message 3 of 6
(1,177 Views)

So you are reading some data, subtract the mean, double integrate using some crazy Rube Goldberg construct, subtracting a 5th order polynomial and expecting a reasonable value for the double integral of the data? IMHO, there are too many cooks messing with the raw data.

 

Can you show us some typical raw data?

 

(Most non-beginners typically stay away from express VIs and dynamic data. I am sure this could be done right without any express VIs with code the size of a postage stamp. Why not place all traces on one graph? Why maximize the diagram and front panel to the screen?)

 

0 Kudos
Message 4 of 6
(1,133 Views)

See if this can give you some ideas....

 

altenbach_0-1701455145219.png

 

0 Kudos
Message 5 of 6
(1,122 Views)

@altenbach wrote:

See if this can give you some ideas....

 

altenbach_0-1701455145219.png

 


That's a pretty big postage stamp.  😄

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 6
(1,076 Views)