[Ar...] Posted July 28, 2019 Share Posted July 28, 2019 1. is there a PCM function for counting number of Features in your measurement plan? 2. also, what is the best way to put formula of getting the total deviations for each X Y D & Form of a all circle features measured I attached as sample MS Excel with formula of what I mean. 3. lastly, anyone have tried to make a conditional data saving PCM for the pass and fail, results saved in separate directory or folder Many thanks!excel formula to PCM.jpg Link to comment Share on other sites More sharing options...
[Ja...] Posted July 29, 2019 Share Posted July 29, 2019 I'm not sure about PCM, but do you have Python? I have a script that will give you what you're looking for for #1. Link to comment Share on other sites More sharing options...
[Ro...] Posted July 29, 2019 Share Posted July 29, 2019 #1, will the number change? i mean are you dealing with a lot of logic or miniplans? If it's miniplans it seems like you should be able to assign a number depending on what plan is selected, but i don't know how to just count features, let me know. #2 should be pretty straight forward, but a bit labor intensive depending on how many circles you're talking about. But its going to take a lot of work on your end to take a bunch of individual excel files and populate them into something like the one you show. (see attachment) #3 yes & no. I have an if statement that deletes a file immediately after creating it so my winspc doesn't have a chance to grab it. (I do it that way because its a supplementary thing i wrote to be tacked to the end of already existing code, and i wanted something that is just copied to the end of my code and works without having to edit anything else.) but i DON'T have a way of sending circle 1,2,3 to a location and circle 4 to a different location and 5,6,&7 to go with 1,2,&3. I mean it could be done, but the PCM would be as long as a harry potter book (Last chance U reference) when were done. Couple questions, do you have operator inputs at the start of your program, and if so what are they. Do you individually identify the parts you're scanning? do you work in inch or mm?hgghkghkvghkvk.JPG Link to comment Share on other sites More sharing options...
[Br...] Posted July 29, 2019 Share Posted July 29, 2019 If you want this information to appear on an excel spreadsheet, why not make a VBA macro to do it for you? You could even do an automated export to excel at the end of a measurement plan run. Link to comment Share on other sites More sharing options...
[Me...] Posted July 29, 2019 Share Posted July 29, 2019 1) baseSystem().machine.inspection.actualPart.geometry.dictionary.size 2) Might be easier to export table files and setup your workbook to grab what you need. (That is if you don't want to create a characteristic for each) 3) One option would be to use inspectionToleranceState() at the end of the program and move files accordingly. Link to comment Share on other sites More sharing options...
[Ar...] Posted August 4, 2019 Author Share Posted August 4, 2019 Please sign in to view this quote. Mitutoyo Program.txt 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