View Single Post
  #27   Spotlight this post!  
Unread 01-02-2009, 15:33
weinbergmath's Avatar
weinbergmath weinbergmath is offline
Mentor to China FTC/FLL, FRC1230
AKA: Evan Weinberg
FRC #1230
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Hangzhou, China
Posts: 22
weinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to behold
Re: Noisy Accelerometer

Hi everyone,

I'm looking to do the same thing as you SlimBoJones, but in Labview. I have attached a VI with something that started as the 'Get Gyro Angle' vi, but made the changes I could see to the inputs to look at the accelerometer instead of the Gyro. I haven't tried it, as there is an error.

Two questions come out of this:

1. How can I modify the VI that changes the accelerometer DevRef global to the AI Channel cluster so that it works? At the moment, the error dialog says it's being referenced from outside the library, so it won't run. Is there another way to do this?

2. I don't understand the process of what the VI is doing with the accumulator to come up with the integrated value...is it enough to just feed it an accelerometer rate instead of angular rate, as well as the scaling and center voltage, and hope for the best?

Thanks for any and all responses...

Evan
Attached Files
File Type: vi Get V from Accelerometer.vi (38.5 KB, 52 views)