04-12-2018 05:17 AM
Hello,
I am a student, working on a project in a company where I have to calculate the thickness of a rubber material. I am using two laser sensors, from the top and bottom. Two laser lines will fall on the material, the CCD camera in the sensor will read them and create an image. Now I want to calculate the distance between these two lines, as it will give me the thickness. How do I do this in LabVIEW? I have LabVIEW Full Development System 2017.
PS - If its not obvious already, I'm new to LabVIEW.
Solved! Go to Solution.
04-12-2018 06:04 AM
Can you use Vision? Use the caliper tool.
If not, well maybe you should.
If you need to do it manually, on for instance a 2D array of camera pixels, it gets more complicated. You need to for each vertical line find the two horizontal edges. The distance will be a measurement of the distance between the lines. Then you need to do some statistics... Or find all the first edges, and fit a line to it. Find all the second edges (first edge from the right) and do the same. The line fits will return an A and a B (Ax+B). The delta B will be the a measure of distance.
04-12-2018 07:43 AM
I'll check out Vision and see how can I use it. Thanks!