LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

integrate acquired signal

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

 

 

0 Kudos
Message 1 of 4
(2,679 Views)
 Can you please post your code for better understanding.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 2 of 4
(2,658 Views)

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

0 Kudos
Message 3 of 4
(2,642 Views)

the idea is something like this but unfortunatelly it doesn't work!

0 Kudos
Message 4 of 4
(2,625 Views)