Jump to content

PCM IF/THEN


Recommended Posts

Aha, then I see, so you need to change the output directory you have set in "Name for output files"..

That's doable. But I suggets you copy the files to the correct location after creation. (Less confusing and more understandable how it works.)

As usual there's several ways. One of many is to add this to your inspection_end_pcm.txt.
if inquireList("It this..","Production","Set-up") == "Set-up"
	copyFile("...\results\whatever.pdf","\Setup\theresults.pdf")
else
	copyFile("...\results\whatever.pdf","\Production\theresults.pdf")
endif
I've heard that that file might be executed with a delay, never used it my self so I cant tell. But try it.
Link to comment
https://qualityforum.zeiss.com/topic/15908-pcm-ifthen/#findComment-87508
Share on other sites

No, don't use pre- or post-settings. It's a .txt-file that you place in your measument plan folder, (or the inspection folder if you wish to apply on ALL plans.) Name it "inspection_end_pcm.txt" and paste all of it there. Lean back, open a beer ans donate a dollar for kids cancer research.
Link to comment
https://qualityforum.zeiss.com/topic/15908-pcm-ifthen/#findComment-87512
Share on other sites

×
×
  • Create New...