Jump to content
Private Messaging is activated - check "How to" on how to disable it ×

Calypso Report for Customer


---
 Share

Recommended Posts

Hello all,

Quick question, is there a way to output results with the use of rounding to three decimal places only?

Our customer only is interested in values to this extent and we are attempting to provide reports to satisfy this requirement.

We have revised our Calypso program to only display values to three places, but since there is an issue at the fourth or fifth decimal place, it is reported as out of tolerance.

Ex.  S/B: 10.000 +/- .005 dimension.

       Is: 10.005002

This result will then show up as red on our PiWeb report.

Using Calypso 2022, ServicePack 1.

 

Thanks for any assistance provided,

James Canham

Link to comment
Share on other sites

If you really want to ignore those numbers beyond rounding, then use result element, where you can do your own rounding formula

I think it would be this simple formula

round(getActual("10a - Width").actual,3)

round: rounding number
round( NUMBER TO ROUND, NUM OF DECIMALS )

Don't forget to mark characteristic without rounding and check to hide marked items.

This is the hardest approach - perhaps on PiWeb side would be an easier way with some formulas on protocol.

Link to comment
Share on other sites

I can believe I am about to post this but another way is to increase the tolerance limits to an amount that you will allow you to sleep at night.  For example, let's say you are willing to risk that anything that is under .00001" out of tolerance is okay. Using your example, you would make the tolerance 10.000 ±.005010 and only display 3 decimal places.  Your tolerance will look like ±.005 but it will be green.  On the other hand, you could request a waiver for the .000002 out of tolerance condition.

Edited
Link to comment
Share on other sites

Is there any chance that this is an issue with floating point precision? I don't think that it is, but I'm not well versed enough in computer science anymore to say for sure.  

Otherwise, I agree with Tom and his earlier posts.

Link to comment
Share on other sites

Please sign in to view this quote.

Please sign in to view this username.

🤣 I feel the same way.

Please sign in to view this username.

But in a pinch, its as easy as 1, 2, 3.

 

 

 

 

1.PNG

2.PNG

3.PNG

Edited
Link to comment
Share on other sites

Please sign in to view this quote.

Sometimes ±.0002 can be ±.00024. 🤐 It can be our little secret.

Link to comment
Share on other sites

Hello,

 

Thanks to all for supplying several options to this request.

There are very creative and will be tested to see which one our customer accepts.

Tom, thank you for ASME, callout, we have attempted many times to reference this statement to our engineering, and still the rounding section exists in our QA Insp. Manual!!

 

Thanks again, these replies will greatly help.

James Canham

Link to comment
Share on other sites

 Share

×
×
  • Create New...