LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculating Velocity

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.

0 Kudos
Message 1 of 2
(2,655 Views)

Here's an example algorithm where you could replace the Distance Measurement numeric control with your distance acquisition value.

 

Distance.png


Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

0 Kudos
Message 2 of 2
(2,611 Views)