A computer-based method for generating a scanning program for a stand-alone measuring equipment is provided. The method includes the steps of: receiving parameters, the parameters including output types of probing points; calculating a probing point coordinate multidimensional array; creating probing features; generating 3D program of each probing feature, and forming a control file by assimilating all 3D programs; and transferring the control file to a computer in the measuring equipment and executing the control file by utilizing measuring software in the computer to measure a workpiece. A related system is also provided.