Jump to content

Write to a file using PCM


Recommended Posts

Hallo

PreSetting of inspection
----------------------------------------------------
inspPath = getActualInspectionDir()+"\"
fileName = "runInfo.txt"

deleteFile(inspPath+fileName)
addToFile(inspPath+fileName, getRunID())
-------------------------------------------------------
create a new file during start CNC run

Klaus
and I'm wasting time looking for a Write to file command.... 🙄
🤣

Thank you!

I will test this tomorrow.
if (num_bores==3) and (miniselection=="Finished Bore Characteristics")
setRunID("3 Finished Bore Characteristics")
//New 12.12.23
inspPath = getActualInspectionDir()+"\"
fileName = "setRunID.txt"
deleteFile(inspPath+fileName)
addToFile(inspPath+fileName, getRunID())
//End New
endif
×
×
  • Create New...