Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Java
 QCSPCChart SPC for Java
 Nelson Rules
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

scrindan

Mexico
7 Posts

Posted - 29 Sep 2011 :  23:29:19  Show Profile  Reply with Quote
hello friend, how I can implement the 8 rules of nelson, if you can do? or what is the cost to develop it?

Nelson Rules
Rules Western Electric +

+ Western Electric Rules

8 consecutive points on the same side from the center line

6 consecutive points all increasing or all decreasing

14 consecutive points alternating up and down

15 consecutive points within 1 standard deviation from the center line (either side)


thnx



and another thing, the frecuency graphic, I add new lines with

"addFrequencyHistogramControlLine"

a range of -. 0028 and a 0028 + can focus the graph according to the data? since it only focuses according to the graphed data.

understand? thanks!

Edited by - scrindan on 30 Sep 2011 00:03:41

quinncurtis

1586 Posts

Posted - 30 Sep 2011 :  10:17:22  Show Profile  Reply with Quote
The Nelson rules are the same as the WECO Rules + Supplemental rules except for Rule #4, where the WECO Rules use 8 out of 8, and the Nelson rules use 9 out of 9. So you can just call useWERuntimeAndSupplementalRules, and change the parameters of Rule #4, which in our software maps to control limit #10 (for < center line test) and #11 (for greater than center line test).

SPCControlChartData chartdata = this.getChartData();
primaryChart.useWERuntimeAndSupplementalRules();
SPCControlLimitRecord clr = chartdata.getControlLimitRecord(10);
clr.setCustomRuleParameters(9, 9);
clr = chartdata.getControlLimitRecord(11);
clr.setCustomRuleParameters(9, 9);

We don't understand your second question. So explain in more detail.
Go to Top of Page

scrindan

Mexico
7 Posts

Posted - 07 Oct 2011 :  07:33:20  Show Profile  Reply with Quote
Hello. thanks for the reply I still have a doubt in the documentation and within classes can not find anything relating to
WERuntimeAndSupplementalRules ();
Only I get
this.getPrimaryChart (). useWERuntime ();
and you lost me at the time of development.

what I need to get the WE and Supplemental Rules?

relating to your other question, I need to do something like the following:

http://www.subirimagenes.com/otros-spcl-7002996.html

I can do?

Go to Top of Page

quinncurtis

1586 Posts

Posted - 07 Oct 2011 :  09:47:52  Show Profile  Reply with Quote
The Western Electric Supplemental rules have been part of the software for more than two years. When did you purchase the software? Perhaps you need an upgrade.

You can change the auto-scaling FrequencyHistogram of the chart using code similar to below.

// After the call to BuildChart
spcChart.BuildChart();


spcChart.CoordinateSystem.ScaleStartX = -0.3;
spcChart.CoordinateSystem.ScaleStopX = 0.3;
spcChart.XAxis.AxisMin = -0.3;
spcChart.XAxis.AxisMax = 0.3;
spcChart.YAxis.AxisIntercept = -0.3;
Go to Top of Page

scrindan

Mexico
7 Posts

Posted - 07 Oct 2011 :  12:49:35  Show Profile  Reply with Quote
hello friend, I bought about 1 year ago, but I get those options, in fact I'm trying to do what I indicate:


spcChart.CoordinateSystem.ScaleStartX = -0.3;
spcChart.CoordinateSystem.ScaleStopX = 0.3;
spcChart.XAxis.AxisMin = -0.3;
spcChart.XAxis.AxisMax = 0.3;
spcChart.YAxis.AxisIntercept = -0.3

I can not access the attributes of "ScaleStartX" and asks me AxisMin integer value, and neither appears I AxisIntercept ..
if I need an update?
Go to Top of Page

quinncurtis

1586 Posts

Posted - 07 Oct 2011 :  13:58:46  Show Profile  Reply with Quote
Sorry, the examples we gave were for C#, and used C# style properties. Java use the get/set equivalents.

this.buildChart();


this.getCoordinateSystem().setScaleStartX(-0.3);
this.getCoordinateSystem().setScaleStopX(0.3);
this.getXAxis().setAxisMin(-0.3);
this.getXAxis().setAxisMax(0.3);
this.getYAxis().setAxisIntercept(-0.3);

I don't think it was as recent as a year ago if you don't have the WECO with Supplemental rules.

Send identifying information about your original order (company name, order name, or any e-mail that we would have send you) to sales@quinn-curtis.com and we will investigate when you originally purchased the software.
Go to Top of Page

scrindan

Mexico
7 Posts

Posted - 07 Oct 2011 :  22:59:35  Show Profile  Reply with Quote
hello friend, the line frequency in the graph not work for me, I did it this way:

this.getCoordinateSystem (). setScaleStartX (0.3);
this.getCoordinateSystem (). setScaleStopX (0.3);
this.getXAxis (). setAxisMin (-0.3);
this.getXAxis (). setAxisMax (0.3);
this.getYAxis (). setAxisIntercept (-0.3);

and did not appear setScaleStartX, etc. ..

send mail already has sales@quinn-curtis.com, I put in the subject "scrindan, license" ..
I hope to answer, and thank you very much for everything
Go to Top of Page

quinncurtis

1586 Posts

Posted - 08 Oct 2011 :  11:52:22  Show Profile  Reply with Quote
The line

this.getCoordinateSystem (). setScaleStartX (0.3);

should be

this.getCoordinateSystem (). setScaleStartX (-0.3);

I am assuming that you want the x-axis scaled from -0.3 to +0.3. If not, substitute you own values for the minimum and maximum values of the scale, for both the coordinate system, the x-axis, and the y-axis intercept.
Go to Top of Page

scrindan

Mexico
7 Posts

Posted - 27 Oct 2011 :  20:15:37  Show Profile  Reply with Quote
hi, download it again and it works, only now in the frequency plot lines no longer appears:

this.addFrequencyHistogramControlLine (20.0, new ChartAttribute (ChartColors.BLUE));

probe with the example of "Frequency" and neither are there .. it can be?
Go to Top of Page

quinncurtis

1586 Posts

Posted - 02 Nov 2011 :  12:09:13  Show Profile  Reply with Quote
We updated the libraries on the server. You should recover the FrequencyHistogram limit lines if you download it again.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07