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 Microsoft .Net
 SPC Control Chart Tools for .Net
 AddAxisUserDefinedString function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

juilinlee

13 Posts

Posted - 03 Jan 2011 :  16:32:05  Show Profile  Reply with Quote
Dear Customer Team,

Chart Type : PERCENT_DEFECTIVE_PARTS_CHART_VSS
Chart Base : SPCTimeAttributeControlChart
Example path : \QCSPCCHART\Quinn-Curtis\DotNet\QCSPCChart\Visual CSharp\examples\VariableSampleSizeControlCharts

I was using this example to add X axis user defined string on SPC Time Attribute Control Chart. Looks like AddAxisUserDefinedString function only support scale mode = "LINEAR_SCALE".
Do you think there is a way to support this function on Time Attribute Control Chart?

Thanks

Rick

quinncurtis

1586 Posts

Posted - 03 Jan 2011 :  16:49:54  Show Profile  Reply with Quote
The AddAxisUserDefinedString function applies to batch control charts, since in a batch control, a major tick mark is placed at every sample subgroup, allowing a unique string to be used as a batch ID for that sample interval.

The Time Attribute Control Chart (and Time Variable Control Chart) does not necessarily place tick marks on sample intervals. Instead it places tick marks at logical time intervals. Therefore it is not suitable for use with custom axis strings, since there is no telling where the tick marks are in relation to the sample subgroup.

So the answer is no, there is no way to use AddAxisUserDefinedString with the time-based control charts. They can only be used with the batch-based control charts.

Why can't you just use the batch-based control charts (SPCBatchAttributeControlChart in your case) ?
Go to Top of Page

juilinlee

13 Posts

Posted - 03 Jan 2011 :  17:26:05  Show Profile  Reply with Quote
Dear Customer Team,

Thanks for your support. Looks like I can set SampleSubgroupSize_VSS at SimulateData function to change subgroup size to whatever on SPCBatchAttributeControlChart base class.


Best regards,

Rick
Go to Top of Page

quinncurtis

1586 Posts

Posted - 03 Jan 2011 :  17:29:08  Show Profile  Reply with Quote
We have no idea how your last post relates to the original topic.
Go to Top of Page

juilinlee

13 Posts

Posted - 03 Jan 2011 :  17:43:00  Show Profile  Reply with Quote
Sorry for the confusion.
Base on your suggestion, I did try to use SPCBatchAttributeControlChart in my case, but the number samples per subgroup is fixed number of "50" from the example program. I was not be able to change it before.

However, I found out that I can change number samples per subgroup in SimulateDate function by setting SampleSubgroupSize_VSS parameter in SPCBatchAttributeControlChart class base. Now, I can set sample subgroup size, and X Axis.

If I did something wrong, please give some advice.

Thanks
Rick
Go to Top of Page

quinncurtis

1586 Posts

Posted - 03 Jan 2011 :  20:57:41  Show Profile  Reply with Quote
You must specify the correct SPC chart type (SPCControlChartData.PERCENT_DEFECTIVE_PARTS_CHART_VSS) in the InitSPCBatchAttributeControlChartsetup call, and call ChartData.SampleSubgroupSize_VSS correctly. See the example VariableSampleSizeControlCharts.PercentDefectivePartsControlChart.

this.ChartData.SampleSubgroupSize_VSS = numsamplespersubgroup;

// Add new sample record
this.ChartData.AddNewSampleRecord( timestamp, samples);
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