12-20-2009 11:47 AM
Hi all,
i'll try to clearly explain the problem i have in hands:
i have a gyro which measures angular speeds. i've already gone through all the electronics and signal conditioning stuff and i'm now looking for a way of testing it using labview.
with this in mind i though in acquiring the signal, convert it into a meaningful angular speed, integrate and obtain the angular position relative to the original position.
after that i will probably use a dc motor and generate random movements. at users request the program stops this random motion and makes the motor return to its original position.
the only problem is that i'm a rookie in labview way of programming and i couldn't find a way of sampling the acquired signal and integrate it using an integration constant from the previous iteration so that i can keep the angular position.
i tried some tricky ways of doing it and the main problem appears to be the meausement of the time elapsed between iterations so that i can sum sample*dt to a shift register for example. is there any function similar to timers like the ones in microcontrollers?
any suggestion would be great. if you can think about any other way of testing the gyro please let me know. (i don't have any extra hardware, just the gyro and a dc motor)
many thanks,
gonber
12-20-2009 09:41 PM
12-21-2009 04:52 AM
HI
You can check this with express vi named "Time Domain Math"
In the properties of expres VI, check option Integral sum
Hope this helps
Regards
Santosh
12-21-2009 09:27 AM
the idea is something like this but unfortunatelly it doesn't work!