From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to measure velocity with accelerometer

Solved!
Go to solution

how can i measure real time velocity with accelerometer of myRIO???

can somebody send me the code for this problem

0 Kudos
Message 1 of 3
(7,788 Views)
Solution
Accepted by topic author AB_27

Hi AB_27,

 

If you wanna get the velocity with the accelerometer of NI myRIO you must integrate this accelerations. In LabVIEW there are many options to integrate data as shown in this links:

http://zone.ni.com/reference/en-XX/help/371361J-01/gmath/numeric_integration/

http://zone.ni.com/reference/en-XX/help/371361H-01/gmath/integral_xt/

http://zone.ni.com/reference/en-XX/help/371361J-01/gmath/integration/

 

I found this example that use the Integral (Sum[Xdt]) Express VI to calculate position and velocity.

http://forums.ni.com/t5/Community-Example-Submissions/Integrate-Acceleration-for-Position-with-Simpl...

 

Regards!!!

 

Sebastian.

 

 

 

 

0 Kudos
Message 2 of 3
(7,691 Views)

Thank u 😄

0 Kudos
Message 3 of 3
(7,640 Views)