[Gr...] Posted January 3, 2022 Share Posted January 3, 2022 I've been using the built in Part Ident variable in my reports as part of my serial number naming convention. My serial number format is $Date Code - $Incremental Part Number. The problem I've run into is that if I believe the "Part Ident" variable is not meant to be duplicated ever. If I run parts 1->10 today and 1->10 tomorrow, Calypso will overwrite the point data needed for subsequent evaluation with whatever is the most recent part "1", even if they were run on different dates. How can I create a user variable that auto-increments to the next sequential number after a part has been run? Link to comment Share on other sites More sharing options...
[Ow...] Posted January 3, 2022 Share Posted January 3, 2022 I always label my incremental part number with a date like 01.03.22-1 so, if I rerun the same part number the next day it will be different and won't overwrite the subsequent files. The last number automatically updates to 2 and then 3,ect. 01.03.22-2, 01.03.22-3. You could put the serial number and then a date and then the incremental number but, you have to remember to change the date the next time it is run on a different date. Link to comment Share on other sites More sharing options...
[Ri...] Posted January 3, 2022 Share Posted January 3, 2022 Please sign in to view this quote. You can create a custom file name as well. "Date_"+getRecordHead("dateshort")+"_Time_"+getRecordHead("time")+"_IncPartNum_"+getRecordHead("partnbinc")+".zmp" Then if you place it in Name for output file for all Measurement Plan then it is just two checkboxes for each new Measurement Plan. 🙂 Link to comment Share on other sites More sharing options...
[Er...] Posted January 4, 2022 Share Posted January 4, 2022 bump Link to comment Share on other sites More sharing options...
[Lo...] Posted January 4, 2022 Share Posted January 4, 2022 Please sign in to view this quote. You Rock!! This is what I have been looking for. Link to comment Share on other sites More sharing options...
[Ri...] Posted January 5, 2022 Share Posted January 5, 2022 If you want to get really fancy to make things nice and clean. You can have the software place the files (this applies to any output file) in subfolders based upon header information. "C:\Measuring Points\"+getRecordHead("planid")+"\Purchase Order_"+getRecordHead("u_{1110}")+"\SN_"+getRecordHead("u_{2216}")+".zmp" Capture.PNG 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