Presettings LN = getRecordHead("order") Postsettings rotateReference() //Dims to Excel filePath = "T:\DMR\CMM Data\Medtronic\Tang Flat Profile_.0934 (feature 200)\" ext = ".csv" //N1 = getRecordHead ("Grind Tang_Rev. B 9.22.16_543_.0934") //dirPath = filePath + N1 + (" ") +date()+" "+time()+ ext Lot = getRecordHead("order") partnum=getRecordHead("partnbinc") dirPath=filePath+Lot+("_")+partnum+ext display(dirPath) //#1 DIM200_1 = getActual("200 - Profile_1").actual //#2 DIM200_2 = getActual("200 - Profile_2").actual addToFile(dirPath,date()) addToFile(dirPath,time()) addToFile(dirPath,("T:\DMR\CMM Data\Medtronic\Tang Flat Profile_.0934 (feature 200)")) addToFile(dirPath,("Lot Number : "),LN) addToFile(dirPath,("200 - Profile_1 : "),DIM200_1) addToFile(dirPath,("200 - Profile_2 : "),DIM200_2)