Passing Control Limits into SPC Charts - Part 2

I'm able to pass control limits (LCL, CL, UCL) into my SPC chart but it's not woking quite as I expected.  If I look at the raw data detail, I see:
Date     Prod     LCL     Mean     UCL
Oct-2005     298265     100000     150000     200000
Feb-2006     298171     120000     150000     160000
Aug-2006     198144      75000     125000     175000
Mar-2007        2144      40000     100000     160000
Aug-2007          144      40000     100000     160000
I would have assumed that the LCL, Mean, UCL from the first row (100000, 150000, 200000) would "take effect" on that row's date (10/2005) and continue for all FUTURE data points until the first subsequent date that had a different LCL, Mean, UCL value(s) but, looking at the SPC chart, it seems whenever there is a change in the LCL, Mean, UCL, the values apply to data points PREVIOUS to that row's date.
I'd like users to enter LCL, Mean and UCL data into a control limits database whenever there is a change in the values that should be applied to future points but I don't think that's the way the SPCChart template works.
Any thoughts?
David

David,
If you need a simple model for the data store of your user defined Control Limits, along with their effective dates, you can use the ControlLimitDetail table that is part of the QualityPortal database schema.  The Comments and SuppressedDataPoints tables are already used by the iSPCChart applet when the user interacts with the right-click menu for recording point comments and suppressing data points, so this table (along with SpecificationLimitDetail) can be leveraged if you need a place to put them.
I emulated your situation here on my 11.5.3 system - it does seem to project the dotted lines backwards from the record based association, so you may have stumbled onto a problem with the chart.  Please enter this into the customer support portal so that it can be properly addressed.
Regards,
Jeremy

Similar Messages

  • Specification limits on SPC Chart

    Hi All,
    I created a SPC chart with specification limits enabled. If user has provided lower spec limits without upper spec limits then it is taking the upper spec limit value as 0.0 by default. I would like to have limits to be one-sided.
    For example:
    An attribute should be at least 232,if its lower we have a problem. But there's no upper spec limit on it. The higher number we have the better.
    If I put a very high number on the query, like 10000, that disturbs the Y-axis scale and shows Y-axis 0-10000, which does not show a good picture.So we need a way to enable only 1 spec limit, and keep other disabled as need.
    Hoping to get a answer for this.
    Regards,
    Ravi Kumar

    Hi,
    Anyone has any answers for this one as to whether it can be done or not.
    Thanks & Regards,
    Ravi Kumar

  • Passing a string into an SQL query IN statement

    Hello,
    I need to connect to a database to pull some data to dynamically create a form based on the data I pull back. My SQL query works fine when I manually run it through a SQL client tool, but when I try to pass it through my workflow I'm having trouble with passing my string into the IN part of the statement. So if for example my SQL query is:
    SELECT Field1, Field2, Field3 FROM Table1 WHERE Field4 IN (?)
    I have a process variable that has the string I'm trying to pass into the ?, but I don't seem to be able to get the query to run. I have tried setting up my query to run as a Parameterized Query (passing my string process variable into the ?), and by setting the query up through xPath (where I am calling my process variable with an xPath declaration), but am not having any luck.
    The process variable I am trying to pass is formatted such that I'm passing 'Value1','Value2','Value3' but I can reformat this string if need be. Even with using test data I can't get the query to return anything. For test data I have tried: 'Value1','Value2','Value3' ; Value1','Value2','Value3 ; Value1,Value2,Value3 but the query never returns any data. I can't seem to see how to format the string to pass into the query. The Query will work with a single Value in the test data, but as soon as I try to pass multiple values within the string it fails. Any suggestions?

    The problem looks to be a limit on what I can pass into the SQL query component. My string is coming from data returned from another database. I take the xml output from that database call, pass it through a set variable component to remove my xml tags from the string, and then format the string in a script component (I have to do it this way because of the way the data coming out of my first database call). I've put in loggers, and can see that the string I'm passing into my query that is giving me problems, is formatted the same way as if I were to use the concat function Scott listed above. It looks like there is a limitation on what can be passed in my variable. I have tried creating my entire SQL query statement in a set variable component, and then just calling the process variable that holds that statement, but there is a character limit of 128 character for what can be passed in a variable through xpath in the SQL query component.
    The next thing I tried was changing my SQL where clause. Instead of passing my variable directly into the IN statement I set up a PATINDEX('%:'+countyname+ ':%', ?) > 0 call to check for the values in my database call. As you can see I took out the "," that I was passing as part of my string, thinking that the SQL component was getting confused by them, and placed ":" characters around my values being passed in my string variable. No matter what I try to do though I'm not able to get the query to run. The component looks like it is taking my string, and is seeing the whole thing as a string instead of passing it as individual values within a string.
    I think I'm getting close, but I keep getting a Content not allowed in prolog exception in the server logs.

  • SPC Charting - Calculating Cpk & Ppk

    Hi all,
    Let me preface this by saying that I am not an SPC expert...I know the fundamentals.  With that being said, can anyone explain why UCL and LCL limits have to have 'Auto-Calculate' checked in order for Cpk/Ppk to be calculated correctly.  I know you need these values (along with USL and LSL) - but why do the control limits have to be auto calculated?
    I have a client that has fixed control limit values (based on previous year) - so, I don't want 'Auto-Calculate' enabled in their pre-defined charts.
    Any insight is greatly appreciated.
    Joseph Scott

    Hi Jeremy,
    Yes.  I am OK with the Ppk as this and EST_CPK are equivalent - so, I always get correct values for this.
    But, for Cpk - I can only get the correct value with auto-calc checked.  None of the EST_XXX statistics match this value...
    So, users have to generate chart w/ auto-calc off - to see if any points outside of control limits.  Then chart has to be re-generated w/ auto-calc on - to get proper Cpk value.
    Thanks

  • 12.1:  SPC Chart - Calculate Control Limits logic/rules?

    Hi,
    I'm using 12.1 SP4 Patch 4 currently.
    1.  For SPC charts, there is a checkbox for Calculate Control Limits under the Control Limits for the Upper Chart Tab.  What rules/formula does MII use for calculating the control limits?  (I tried it and it looked correct but users want to verify how it calculates). See link for example:  http://gunston.gmu.edu/708/XmR.asp?E=0
    2.  What does it do if Limits already exist for the input data set?  Ignore the calculation?
    3.  Can this be set dynamically and refresh the SPC chart?   (Set the Calculate Control Limits
    UpperCalculateControlLimits Boolean property and refresh the chart?  I've sometimes had issues setting these dynamic properties and having them take effect in charts so want to verify)
    Thanks,
    Kerby

    1.  I think you would already have the SPC help PDF document that has the formulas in it - Rob or Leey?  In general, 3 sigma or standard deviation above and below the centerline(mean) based entirely upon the dataset returned by the underlying query template.
    2.  The Auto-Calc will take precedence over static limits, and the chart will use them accordingly.  I'm not entirely sure, but if you look at the Summary Statistics popup from the applet you'll see EFFECTIVE and EST properties that will vary based upon the Auto Calc being enabled.
    3.  Yes, you should be able to 'check' the box through JavaScript and have the chart update with them.  If you have issues with specific script then go ahead and post that snippet as a separate thread.
    Regards,
    Jeremy

  • Pass variable into ValueColumn of SPC Chart

    I need to pass the ValueColumn field into the chart.  How do I do this.  I think I have it set up properly, but I can not get data unless I manually set it up in the display template, which I do not want to do.  What do I need to do to make this work?  The Title works fine.
    <tr>
    <td>
    <applet name='Chart1' codebase='/Illuminator/Classes' code='iSPCChart' archive='illum8.zip' width='775' height='350' mayscript>
    <param name='DisplayTemplate' value='../FR/dspFR_ATD_Production_SPC'>
    <param name='QueryTemplate' value='../FR/qryFR_ATD_Production_SPC'>
    <param name='ValueColumns' value='Pitch'>
    <param name='Title' value='Pitch Data'>
    <param name='Param.1' value='%'>
    <param name='Param.2' value='%'>
    <param name='Param.3' value='%'>
    <param name='Param.4' value='%'>
    </applet>
    </td>
    </tr>

    You have the parameter name and assignment correct so that's not the problem.  Try right-clicking on the applet and selecting raw data details, then observe the column heading names in your query results - do you see one called 'Pitch' and is it numeric?
    Relative template paths don't work, so unless the "../" is there to hide something I would imagine your query is throwing a FatalError and producing the 'No Data Points' message.
    The title is merely text so that will appear even if the query fails or there are other issues.
    Regards,
    Jeremy

  • How to generate control limits in control chart

    I want to generate a X bar chart with control limits, sample size is Fix- 1.
    SPC criterion I selected is 020 ie Task List characteristics/ Material.
    1)Sampling Procedure I used- Fixed-1
    2)Valuation mode I used- Attrib non conforming units/ manual.
    3)Control chart I am using is 110- Shewart chart for X bar.
    But when I click for control limits in chart it is saying control limits for track 1 could not be calculated.
    Could anyone guide me, how to generate control limits for this graph. Sammple size will alwyas be 1.
    Please let me know should I change control chart type in this case.

    Hi Jaison,
    You should use valuation mode - SPC valuation in sampling procedure.
    Also you have to use sampling procedure with inspection points.
    as practically every hour or depending on the frequency decided we collect the measurements and calculate the SPC.
    now after correction in the sampling procedure create new inspection lot and check SPC.
    try out and revert.
    Regards,
    Anil

  • SPC Chart - show target and one control limit

    Hi,
    Wondering is it possible on the iSPC chart to show a target and only one of the two control limits - i.e. show the user target and the upper control limits - hide the lower control limit. Doesn't seem to be possible via code etc. option seems to be show both or none ?
    Regards,
    Emmett

    Mike,
    Some interesting reading, but ultimately no joy in what i am trying to achieve - i maually set my scales to Max 100 Min 0, My CL to 50 and my UCL to  70 and my LCL to -50 in the hope that the LCL wont be visible , but the chart seems to default to make the user aware that an LCL exists and presents the LCL along the zero scale even though this is not in effect were it will become active. Anyone know of a way around it, is there a single control limit that when the chart value exceeds this limit an alarm will become active but not when it drops below it, all limits seem to be in pairs ?
    Thanks,
    Emmett

  • SPC Charts and Analysis

    Hi....
    Do any of the BusinesssObjects applications support the generation of statistical process control (SPC) charts like x-bar charts and histograms?  Which one....
    I need a software application that can pull data out of a MS SQL 2005 database and Oracle database and present SPC charts via a web browser.  It'll need to be able to calculate and display standard deviation, control limits, specification limits, and process calability stats like Cpk.
    I've found some references to what I need in reference to 'BusinessObjects Process Analysis' and 'BusinessObjects Dashboard builder', but nothing that really communicates which product or products can do it.
    Thanks for any pointers.
    John

    You have to log into SAP to see the charts , cp,cpk values etc. I am not aware of any options to publish these charts on web, I never got  a chance to do that.
    But with my experience, the SPC options in standard SAP (ECC or R/3) are very limited not like  third party applications like infinity qs etc. The SPC chart options like any other sap r/3, go to the related transaction code and pull up the charts on various selection criteria. Configurable graphical options are available and SAP supports various kinds of charts.
    The other option (I have doen it in multiple places) is utilize sap to gather/collects data points, inerface third party statistical packages  like statistica to sap r/3 . downlaod the data from sap and do the analysis.
    Hope it helps.
    Thanks,
    Ram

  • Calling up a Performance Manger SPC Chart from a WebI document

    Post Author: satwar
    CA Forum: Performance Management and Dashboards
    Please forgive my terminology, as I'm only a superuser of B.O. not a computer trained person.I have put a few years into configuring WebI document reports in InfoView of B.O. XI 2.  Our company is getting into SPC in a big way, hence my attention has turned to Performance Manager.  I was disappointed to learn that I have to create a whole new Universe of objects in Performance Manager in order to conduct SPC analysis on the variables I have been reporting in tables & graphs in WebI documents in InfoView.I can learn to accept that aspect of B.O. but I am a little concerned about my users having to navigate through Performance Manager to view SPC analytics.  My users have put up considerable resistance just navigating to WebI documents in InfoView.Hope seemed to be around the corner when I read about calling up Performance Manager analytics from WebI documents.  Having read the details it seems like these WebI documents are created in the Performance Manager Universe, not in the Infoview WebI documents that I have already developed in InfoView.If anyone can explain and clarify how this feature works, I'd be eternally grateful. 

    Post Author: jezbraker
    CA Forum: Performance Management and Dashboards
    You can Link any documents that are stored as objects in the cmc, regardless of the universe or way in which they were created.openAnalytic.jsp will allow you to open pretty much anything much as does openDocument  int the webi world.Once you create the SPC chart in process analysis youll need to view it in the control chart screen then click save as and save it into one of you folders in the corp repository. When this is done you can quickly get an example of the URI syntax by going to create new document in dashboard manger, selecting interactive metric trends, expanding navigation and legend opions, clicking browse, selecting your newly saved analytic and clicking ok.  This will but a url into the text box which you can copy and paste into your webi doc links - here's an example of the kind of thing... openAnalytic.jsp?DocumentName=MySPCanalytictest&RepositoryType=C&RepositoryName=SPCTest&DocumentExt=afd&DocumentId=AadTAN28x6lMpTxxlAhW09s&mode=full You may need to stick the odd ../../ or /jsp/ etc in front of the url depecing where you plan to call it from of course. You'll find descriptions of parameters etc for openAnalytic in the product docs. cheers,jez.  

  • Setting LSL, USL and Target in SPC Chart

    I need to set my LSL, Target and USL of an SPC Chart to nothing.  Is the below param correct to do this?  I have tried this and it seems to set them at 0.  This then throws my chart off as far as SPC control limits goes.  I can not simply open display editor and change this because more than one chart depends on this display.
    <param name="USLColumn" value="">
    <param name="LSLColumn" value="">
    <param name="TargetColumn" value="">

    Why do you need to set them to "nothing" - shouldn't you be using another type of chart (e.g. custom chart, line/marker chart, etc.)?
    In any case, simply deselect showing the LSL/Target/USL in the display template editor.
    <param name="UpperShowSpecificationLimits" value="false">
    <param name="LowerShowSpecificationLimits" value="false">
    - Rick

  • Spc chart CL

    Hi
    How can I change how many data points the centre line is calculated over on my SPC chart?

    Thanks Manoj, but I don't think that's what I want.
    Say I had 10 data points 11,12,10,8,9,11,10,12,14,13
    then the centre line (mean) is obviously 11, but in my scenario I want to display all 10 points on my xbar chart, but I want to calculate my mean (and therefor all my control limits) on only the most recent 5 values, giving a CL of 12.
    Nick

  • SPC Charts and Analytics

    Hi....
    I hope somebody can provide some help.
    Does SAP's software generate SPC charts using STATIT Custom QC and STATIT eQC or another software package?  or is it SAP developed?
    Does anybody know if BusinessObjects is capable of generating SPC charts like an X-bar S chart?  Can it also provide process capability analysis (e.g. histograms with Cpk values)?
    Thanks,
    John

    You have to log into SAP to see the charts , cp,cpk values etc. I am not aware of any options to publish these charts on web, I never got  a chance to do that.
    But with my experience, the SPC options in standard SAP (ECC or R/3) are very limited not like  third party applications like infinity qs etc. The SPC chart options like any other sap r/3, go to the related transaction code and pull up the charts on various selection criteria. Configurable graphical options are available and SAP supports various kinds of charts.
    The other option (I have doen it in multiple places) is utilize sap to gather/collects data points, inerface third party statistical packages  like statistica to sap r/3 . downlaod the data from sap and do the analysis.
    Hope it helps.
    Thanks,
    Ram

  • SPC charts for time-based data?

    I'll try to be succinct in explaining what I'm trying to achieve.
    We run batch processes, and at various points in the process we take samples and test them. The sample results should be increasing exponentially over the course of the batch. I have data from a lot of batches in x/y format - x is the duration of the batch and y is the sample result. It makes a very noisy but clearly exponentially increasing data set.
    What I want is to calculate some control limits that will obviously have to be increasing over time as well. I want to be able to say that, for a current batch, a sample at X time does or does not fall within the expected historical range.
    Is this even possible with xMII, either in the logic editor or the iSPC charts?
    I'd like to make the same sort of chart for other time-based samples that have more complex trends over the duration of a batch, not simply exponential or linear.

    Hi, Carrie.
    Your application doesn't really sound like what I would call an "SPC" chart, but rather, more of a so-called "golden batch" chart.  This type of visualization is used when a production activity should have an expected set of value(s) and/or a shape to a curve.  You would then "overlay" actual values onto this curve to track actual vs. expected and perhaps to highlight deviations.
    This can best be done by combining a multiple queries using BLS (one or more queries for the "limits" and expected values, one query for the actual values), and combining/merging them so that the charting engine (either a line/marker chart or an XY plot) sees them as coming from a single source.
    With some creativity, you can even have the "outlier" points displayed in another color.  The xMII application team can help you with setting this up - Jeremy may still have a chart template/transaction I put together a while back called "LimitChart", which could be used for your application.
    Rick

  • Including comments in SPC charts

    I have recently bought the SPC toolkit for labView (Currently running LV7.1).  The toolkit is relatively easy to use, but I have a couple of requirements which it doesn't seem to accommodate which are normal SPC charting properties.
    First, it would be nice to mark an out of control datapoint in a different color compared with the in control points.  I know that I can pull an array of out of control points out of the sub-vis, but for a shop floor operator it is much easier to see a different color point.
    Second, I would like the ability to display comments which are associated with a particular datapoint.  One simple way to do this is to hover teh mouse over the point
    and have a message box appear.  Another would be to click on the point and display a box.  I can't seem to find how to do either.
    Any ideas?
    Mark.

    Thanks for the reply.  Unfortunately, I don't think this is going to do it.  I didn't explain my problem well enough.
    I'm collecting SPC data, which are simply a list of numbers, or groups of numbers (1D or 2D arrays), and plotting them on a control chart (which is an x-y graph with some statistically calculated limits).  Each of the points may or may not have a comment associated with it.  This is stored (in my case) in a database with the data fields, the comments field, and a timestamp field.  In labview this would probably be an array of clusters. 
    Each of the points may be in or out of control, showing the user whether or not they have a problem with the process they are monitoring.  This is calculated by the SPC functions at runtime, as it depends on the overall set of data.  (In SPC we are measuring the deviation of a measurement from a normal distribution, so one needs a number of measurements to decide whether a point is in or out of control, and that status could change as more measurements are added to the dataset.)
    Now, the LabView SPC modules deal with the calculations very well, and also plot the charts nicely, except that I would like to be able to access any comments (which usually contain information regarding the process set-up, so any improvements in the process can be assigned to particular causes or changes observed by the operator) and assign them to a particular point on the chart.  This point is not static on the graph, as more points may be added, and so the comment needs to be somehow locked to a point.  Similar arguments apply to plotting the point in a different color, as an indication of an out of control point.
    I looked at the example you suggested, and at the property nodes associated with XY graphs - but could not find anything which allowed me to associate anything with a particular point.
    Hopefully, that explains my problem a little more clearly...

Maybe you are looking for

  • FireFox isn't working right on my Mac. Sometimes it won't load at all( says server not found) and sometimes pics and video won't load. If I switch to IE or safari it works fine.

    I just got a Mac ( I have always had a pc) and I loaded the most update version of Firefox on it. Many times during the day I will go to a website and it will get a "Server not found" message. I can't refresh the page and fix it, but if I go to IE or

  • Finding a column in the database tables

    Hi, I am new in databases and I just started on a project which was already half done. Sometimes I find it difficult to find out where a column is, i.e. in which table is? Is there a query to find it out? For e.g, there are 100 tables. I want to find

  • After the Jan update my Wifi is not working ?

    After the update Safari is giving me "Safari cannot open because the server could not be found." However, it only does this for about half of the time. For example: I am on Yahoo and click on Movies it will work. Then, I click on Sports and I get the

  • TV Shows to DVD?

    Is it possible to burn the shows that I downloaded from the iTunes music store to DVD? I'm interested in saving LOST to DVD and then watching it on my TV instead of on my iPod or laptop. Thanks in advance!

  • Facetime Server Error

    I have tried just about everything to figure this problem out. Please do not post a link to the Apple trouble shooting section because that is not fixing the problem. I have a 2009 Macbook Pro running Mac OS X 10.6.8. I have not used Facetime at all