[Ri...] Posted December 15, 2025 Share Posted December 15, 2025 (edited) I have this PCM code I use on a PCM enabled system: PN="57094-97" //Manually set for each program part number setRecordHead("u_PartNumb",PN) // OpWoID=getRecordHead("u_WorkOrderID") //Fix 12.15.25 OpPartNumb=getRecordHead("u_PartNumb") OpFam=getRecordHead("planid") //Program ID // inspPath = getActualInspectionDir()+"\" fileName = "setRunID2.txt" deleteFile(inspPath+fileName) addToFile(inspPath+fileName, OpPartNumb) addToFile(inspPath+fileName, OpWoID) addToFile(inspPath+fileName, getRecordHead("dmesn") ) fileName = "setRunID3.txt" inspPath = getActualInspectionDir()+"\" deleteFile(inspPath+fileName) addToFile(inspPath+fileName, getRecordHead("dmesn") ) //End New All of the above helps collect data to write files. Is there a way to create the files at run time (Post) without a PCM license? All of the data in the text files created work with a PowerShell program to move files from location to location. See: Any help is appreciated. Edited December 15, 2025 Link to comment https://qualityforum.zeiss.com/topic/25387-extract-values-from-a-program-without-pcm/ Share on other sites More sharing options...
[Ma...] Posted December 15, 2025 Share Posted December 15, 2025 I think creating files can be done without pcm - would be better to just save all info into CSV file which will python script read later on? Link to comment https://qualityforum.zeiss.com/topic/25387-extract-values-from-a-program-without-pcm/#findComment-143671 Share on other sites More sharing options...
[Ri...] Posted December 15, 2025 Author Share Posted December 15, 2025 I am trying to utilize one script for all programs to move/copy files to a network location, easier to manage. The script is very similar to my link (It has been updated a bit, which I will post later after fixing some latency issues). Link to comment https://qualityforum.zeiss.com/topic/25387-extract-values-from-a-program-without-pcm/#findComment-143675 Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in