07-02-2009 11:40 AM
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
07-02-2009 11:44 AM
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
07-02-2009 12:07 PM
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
07-02-2009 12:08 PM
07-02-2009 01:34 PM - edited 07-02-2009 01:34 PM
Why the complicated loop calculations?
You can do all the math with a couple simple array calculations.
07-02-2009 06:33 PM
Maurino-
I took a look at your loop- it won't work.
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.
07-03-2009 03:34 AM
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
07-03-2009 03:40 AM
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
07-03-2009 09:40 AM
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
so why find the value of "array size - 1" for each iteration? solve once and it remains the same
07-09-2009 09:41 AM
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