12-06-2012 08:58 AM
Hey
I'm new to labview and what I'm trying to do here is get distance and velocity. I've read other posts that presented the same problem, but I didn't find any that I could fully understand or apply to my situation. I started by collecting a set of values so I could interpolate and obtain distance from the sensor voltage. But now I'm having troubles with the velocity. In the attachment, I have the DAQ collecting values in one cycle and another cycle processing the values. I get distance from interpolation, but this only gives me one value, which is incompatible with the derivative. How can I make this work? And before anyone mentions it, I know that the way it is now I'm doing the wrong thing in the derivative by using the voltage instead of the distance. That's exactly what I want to solve. Thanks in advance.
12-07-2012 12:53 PM - edited 12-07-2012 12:54 PM
Here's an example algorithm where you could replace the Distance Measurement numeric control with your distance acquisition value.