Jump to content

Number of characteristics with NOK capability


---
 Share

Recommended Posts

Hello,

I am looking for information how to count characteristics where the Cp or Cpk is not ok. Something similar like in standard PiWeb protocol raport where we can count characteristics which are not in tolerance. 4154_0417fd1f5c13dc267f9814dfa15258ee.png
 

We are using basic temples for evaluation Cp and Cpk: 4154_957eb84a1e07039976363a2994b0779d.png

Do you know some methods, functions, or code which can help me to do it?
Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...
What version of PiWeb are you using? I can make you an element template that does this for you, you just need to drop it into a specific folder and you'll be able to drag the necessary objects onto your page. In Monitor or Designer go to Help --> About, assuming you are using PiWeb Reporting Plus. The version of Calypso won't help me in this case. Thanks
Link to comment
Share on other sites

Please sign in to view this quote.

Could you share with me? I'd be interested in your ways. I assume since there isn't a default function, you created a custom function?
Link to comment
Share on other sites

Must have been a long day when I responded because I had made it out to be more difficult than it actually was, for some reason....

You'll just need to grab 2 text boxes and drag them into your header. You'll likely want to do this on your Master Page.

Connect them to the variable "Number of characteristics". I am a big fan of using Variable --> Edit variable expression... to find variables without having to search for them in all the flyouts. Ctrl + E is the shortcut for this.

Once you have it connected to show the total number of characteristics, you'll apply a filter to the textbox to only show the # of characteristics that meet a certain condition (in your case, CPK values).

Build yourself a filter where CPK is greater than or equal to 1.33 (or whatever your threshold is).

Apply the same filter to the second textbox with the alternate/NOK condition of less than 1.33.

I didn't make any fancy titles in the example attached but it shows you how I did this.

https://www.dropbox.com/s/33sxrs2cejlyy ... 4.mp4?dl=0

Also the cursor flashing doesn't suggest to single or double click it's just a reminder where it is on the page
Link to comment
Share on other sites

 Share

×
×
  • Create New...