Jump to content

PiWeb, how to separate True Position data.


---
 Share

Recommended Posts

My customer is looking to separate the data for when True Position is using Tolerance Modifiers in PiWeb reporting.
Currently: PiWeb adds the modifier value to the tolerance value.
What they want: The True Position tolerance will remain as entered, add a column to show what the modifier value is.

Is this possible or already available?
Link to comment
Share on other sites

Rick, I experimented with this and never got a response. Here is what I discovered. My code isn't quite there, but maybe you can fix it. Make your viewable area large enough to see multiple lines for test purposes. This code produces these results..2374_196e24730e7881240860122dcb23952d.jpg
I was trying to get the min/max of the list and subtract the two to do exactly what you requested. It is only valid for last part, so no good for table reports. If you can crack the syntax to select ONE out of that list, you got it.

That screenshot is multiple lines, each box contains Base, and modified tolerance values for that occurence

toler.JPG

Link to comment
Share on other sites

Please sign in to view this quote.

What version of Calypso are you working in?

I'll see what I can come up with, but I want to make sure it's in a version you can use.
Link to comment
Share on other sites

Please sign in to view this quote.

Are you just wanting a column of total tolerance?
${abs(${Qdb.Characteristic(2113)-Qdb.Characteristic(2112)})}
This will give you that.
Link to comment
Share on other sites

Please sign in to view this quote.

Got it. See the instruction pdf in my previous post. Link the two text elements and then you can use them as variable with math operator. 2374_186d06b92a8766375c8929b668191469.jpg
Link to comment
Share on other sites

Please sign in to view this quote.

John,

What are you using to pull the Base Tolerance?
${List.Min(Qdb.CharacteristicAttributes(2113))}
${List.Max(Qdb.CharacteristicAttributes(2113))}
both pull the same value for me.
Link to comment
Share on other sites

Please sign in to view this quote.

So first off, I made a Detailed template row for positions only.2374_a3693f826c9ae3babf58364346e83c54.jpg
If you List.sort you can view all numbers for 2113. It won't be populated with multiples unless it has a modifier. See here:

So ListMin will be "base", ListMax will be "modified" List Sort wil be "all".
I had to use the linked Text boxes, because math operators aren't supported if you type in the field. I tried 2+2= and got "2+2=" So the linked Text box is the workaround. I subracted Min from Max to get "Bonus"

list.JPG

Link to comment
Share on other sites

Please sign in to view this quote.

Can you send me a copy of your ptx file? I'd love to reverse-engineer it. This is great stuff.
Link to comment
Share on other sites

Please sign in to view this quote.

I (Customer) wants a column showing the Modifier value only for True Positions and possibly Profiles.
They have two complex custom templates (and PCM) they use, eventually I will attempt to apply any possible methods for testing.
Link to comment
Share on other sites

 Share

×
×
  • Create New...