Hello storm135,
I am not too sure about what exactly you observe when you change the 'pixel radius' input to the 'IMAQ Fit Line' function. Could you post screenshots of the lines that you see in comparison to the expected line? Also, if you could post a screenshot of your VI, I will be able to take a closer look at it.
You can also take a look at the 'Linear Fit' function, which is available in all development systems of LabVIEW except for the Base Package. This is under
Mathematics >> Fitting in the Functions palette. This VI returns the linear fit of a data set (
X,
Y)
using the Least Square, Least Absolute Residual, or Bisquare method. I hope this helps.
Vivek Nath
National Instruments
Applications Engineer
Machine Vision