LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calculus of acceleration from velocity array

HI,

i have a several problem of programming.  i have an array of value of velocity and i want calculate the acceletayoin array, step to step.

but i don't have a idea how do??

 

thanks in advance for the help 

0 Kudos
Message 1 of 14
(3,369 Views)

What part do you not understand?  How to get acceleration from velocity?  How to use the Derivative x(t).vi? How to create your own derivative function?

 

What have you tried so far?

 

Lynn 

0 Kudos
Message 2 of 14
(3,368 Views)

hi, thanks you for the response.

i don't understand what create as sub-VI than implement the incremental rapport in one array.

have you understand my problem??

 

thanks you in advance 

0 Kudos
Message 3 of 14
(3,358 Views)
i have tried that file
0 Kudos
Message 4 of 14
(3,357 Views)

Why the complicated loop calculations?

 

You can do all the math with a couple simple array calculations.

 

 

Message Edited by Ravens Fan on 07-02-2009 02:34 PM
0 Kudos
Message 5 of 14
(3,348 Views)

Maurino-

 

I took a look at your loop- it won't work.  oops.PNG

 

 

So- although, Ravens Fan's solution is more effecient, I wanted to clarify why your code did what it did and show you a loop structure fix as well.   


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 14
(3,330 Views)

ok, you're right,

i use your block diagram.

i used a my application because i haved modificed from an other application in fast mode , not think that much.

 

thanks all very much 

0 Kudos
Message 7 of 14
(3,316 Views)

i forgot,

for jeff:

for my application is impossible than X=0 because the size of array is not ugual a 0, whereby i exit ever from while loop.

 

however thanks you 

0 Kudos
Message 8 of 14
(3,314 Views)

maurino wrote:

i forgot,

for jeff:

for my application is impossible than X=0 because the size of array is not ugual a 0, whereby i exit ever from while loop.

 

however thanks you 


You are correct!

 

I don't know where I saw that "imaginary" shift register on the "size--" wire Smiley Indifferent 

so why find the value of "array size - 1" for each iteration?  solve once and it remains the same Smiley Wink

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 14
(3,299 Views)

exuse- me all,

but i have a problem:

the incremental rapport of velocity for the acceleration not is effective because is inaccurate.

i think to implementar a interpolated straight  and extract the angolar coefficient (acceleration)

who can help me???

thanks you in advance

 

 

i have labview version 7.1 

0 Kudos
Message 10 of 14
(3,264 Views)