Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66748

How do you calculate accumulated displacement?

$
0
0

Hello! I would like to calculate the amount of displacment accumulated during a laboratory test using LVDT positions. Acquiring the signal and determining the position is no problem. However, I cannot think of an efficient way to sum the displacement measured by the LVDTs during the test period. From a progamming standpoint, I would simply save an initial value and subtract the current loop value to obtain the displacement. In the attached example I use a method which uses a case structure and a shift register, but it seems a bit brute force. Do you know of a more elegant way of doing this? If not, how do I tidy it up?


Viewing all articles
Browse latest Browse all 66748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>