This paper presented a new method to detect parameter and error for ca mshaft by contrasting test data with standard data. Wavelet filter, cubic spline interpolation and correlation analysis were employed to deal with the test data . Th e method may avoid risk resulted from surface quality and aberrance to achieve a higher precision. It can be integrated into the machine tool by rebuilding and updating the machine tool to control the product quality.