Hi all,
I have a rather odd issue that I can't seem to fix. I have a
potentiometer monitoring position, from which I am attempting to derive
velocity. I have smoothed out the displacement curve so it is fairly
linear, yet any of the linear fit coefficients, Savitzky filters,
derivatives/differentials (ptbypt or otherwise), build array methods of calculating the slope
are not working for me. I've searched around and tried to base my
methods off the shipping examples but to no avail. This is driving me
nuts and I'm very much under the gun, so if anyone can help me overcome
my own stupidity I would greatly appreciate it. The picture I've
attached shows the smoothed displacement graph on the left, as well as
some of the results I've gotten with derivatives. I've also attached
the main program and the subvi I am using.
Thanks again!