NI Home > Community > NI Discussion Forums

LabVIEW

Reply
Member
BioeStudent
Posts: 1
0 Kudos

Is there a VI to use a tri-axial accelerometer to measure tilt (angle)?

Trying to use a tri-axial accelerometer to measure tilt (output an angle). Many people have asked this question I was wondering if anyone could share their VI or algorithm with me? 

 

Thanks

Member
KyleP
Posts: 129
0 Kudos

Re: Is there a VI to use a tri-axial accelerometer to measure tilt (angle)?

BioeStudent,

 

I haven't written an application like this, so I don't know much about the algorithms involved. However, I did find an Example Program on our website that uses a myDAQ with LabVIEW to control a 3-axis accelerometer. Another forum poster seems to have contributed his work in a thread on applying a Kalman filter to an accelerometer. You can look at his code in the attachment.

 

Cheers,

KyleP
Applications Engineer
National Instruments