according to the definition of axis straightness error, a mathematical model was developed to evaluate axis straightness error by way of least square method in the rectangular coordinates.
a high precise and effective measurement system of axis straightness error of long shaft based on virtual instrument interface is discussed in this paper.