hexagon logo

Assign the Average Deviation and Standard Deviation of a Profile

Hi Y'all.

I have a simple question with a long-winded lead up, so please bear with me.

I have a customer that would like us to start reporting the Average Deviation and Standard Deviation of profile measurements. They even want to apply tolerances to these metrics. So, I'm looking for a way to display these on the report with a tolerance applied. That way our CMM operators can make a quick pass/fail judgment on each part.

I see that PC-DMIS has the option to display these metrics in a DIMINFO box, but I don't see a way to make them appear directly on the report. Even so, what I would really like to do is assign those values to some variables so I can go the route of putting them in generic features and reporting them with tolerances applied.

For example. Here is a Legacy Profile Dimension from the Edit Window:


And how it appears on the report:


From the DimInfo Box Dialog window I have access to the metrics I want.


And I can see from the Graphics Display Window that the values are being calculated:


I found that I can get the Standard Deviation using the GetText command:

However, I just can't seem to find a way to get the Mean value.

​Does anyone know how I can assign the Mean value to a variable? Or possibly an easier way to get the Standard Deviation value?
Or can you think of any other routs I may take to report these metrics with tolerances applied?


Parents
  • Sometimes, using assignments with .HIT doesn't work, maybe it depends on version...
    I would use in this case something like :
    ASSIGN/V1=PRO_FEAT+"HIT[1.."+PRO_FEAT.NUMHITS+"]"
    Then use V1.XYZ, V1.IJK...
    Not sure it works, I really think it's depends on the version or a setting...


    That's a cool idea. I'll give it a try.

    Even if I can't figure out how to use pointers to semi-automate this, I will still be able to do it manually. Thanks again for your solution.
Reply
  • Sometimes, using assignments with .HIT doesn't work, maybe it depends on version...
    I would use in this case something like :
    ASSIGN/V1=PRO_FEAT+"HIT[1.."+PRO_FEAT.NUMHITS+"]"
    Then use V1.XYZ, V1.IJK...
    Not sure it works, I really think it's depends on the version or a setting...


    That's a cool idea. I'll give it a try.

    Even if I can't figure out how to use pointers to semi-automate this, I will still be able to do it manually. Thanks again for your solution.
Children
No Data