Jump to content

how to use userfil and getrecord


---
 Share

Recommended Posts

Good afternoon I have a doubt the idea is that the program alone asks which one you want to run if full or criticize and is stored in your folders every CHR I am recommended to use userfil and getrecord but not use it could help me understand it with examples
Link to comment
Share on other sites

I have a full program and with a Miniplan select critical dimensions, there is a way with a PCM to be able to select Full or criticism and that the CHR results be stored in a Full folder and another one of critics
Link to comment
Share on other sites

200a & 200b below are the names of two profile characteristics.
They are saved to a separate location using these post settings.

The remainder of the variable data gets saved somewhere else.
Is that what you are asking?

POSTSETTINGS
rotateReference()

//Dims to Excel
filePath = "T:\DMR\CMM Data\Medtronic\"+FP+"\"
ext = ".csv"

//N1 = getRecordHead ("MXXXXXXXXXX_Rev. C")
//dirPath = filePath + N1 + (" ") +date()+" "+time()+ ext
Lot = getRecordHead("order")
partnum=getRecordHead("partnbinc")
dirPath=filePath+Lot+("_")+partnum+ext
display(dirPath)
if fileExists(dirPath) == true
deleteFile(dirPath)
endif

//#1
DIM200_1 = getActual("200a").actual
//#2
DIM200_2 = getActual("200b").actual

addToFile(dirPath,date())
addToFile(dirPath,time())
addToFile(dirPath,("T:\DMR\CMM Data\Medtronic\Tang Profile (dimension 200)"))
addToFile(dirPath,("Lot Number : "),LN)
addToFile(dirPath,("200a : "),DIM200_1)
addToFile(dirPath,("200b : "),DIM200_2)[/color]
Link to comment
Share on other sites

 Share

×
×
  • Create New...