[Br...] Posted February 20, 2023 Share Posted February 20, 2023 Hello, I've used the Probing System Qualification to create a program to calibrate all of our probes. I'm outputting the results to a pdf using the Default Report format. By default, the results are going to C:\Users\Public\Documents\Zeiss\CALYPSO\workarea\results. I want the results to go to a different location so I created the path shown in the screenshot. This is working except for the file name is ".pdf" and the results overwrite each time. I would like to have the program name (Probe Calibration) and a new file created each time the program runs. Any ideas? Is there an easier way? Link to comment Share on other sites More sharing options...
[Mi...] Posted February 20, 2023 Share Posted February 20, 2023 Put the date and time in the File name. Right now you're creating a file with no name. getRecordHead("planid")+"_"+getRecordHead("date")+"_"+getRecordHead("time")+"_.pdf" or "static_file_name_"+getRecordHead("date")+"_"+getRecordHead("time")+"_.pdf" Link to comment Share on other sites More sharing options...
[Br...] Posted February 20, 2023 Author Share Posted February 20, 2023 Thank you Michael!! Link to comment Share on other sites More sharing options...
[Jo...] Posted February 20, 2023 Share Posted February 20, 2023 I would recommend setting up a Name for all measurement plans using variables. This allows you to tick the box in any program and will create a file folder and file name according to your needs. You will never need to map anything else again.name.JPG Link to comment Share on other sites More sharing options...
[Me...] Posted February 21, 2023 Share Posted February 21, 2023 Please sign in to view this quote. This is actually a good idea; I'll be implementing this with our programs. Though with multiple machines, may want to add a serial number in there, or some sort of CMM identifier. Link to comment 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