大家好,
我有一个客户刚刚从 v15 升级到 v18。他们使用带有预先编写的脚本的程序来生成控制图/能力分析,并且有大约 100 个用于不同任务的脚本,但都使用“旧版控制图”。他们想看看是否有一种简单的方法可以更改这些脚本以与控制图生成器配合使用,而无需单独重新组装每个脚本。
以下是来自客户的一条消息:
- 您如何使用这些脚本?是否有一个模板数据表,您可以将数据放入其中,然后从中“播放”脚本?我只是想知道是否有一个可以更改的中央“模板”来使事情变得更容易(而不是让每个用户单独更改脚本)。 à 对于每种产品,我们都有一个特定的 JMP 文件,用于记录有关其质量控制的所有数据。根据产品的不同,列表参数的数量可能会有所不同,我们会为每个参数准备脚本。我们没有一个中央模板;我们使用每个产品的单独文件以及每个产品的每个参数的脚本。您可以想象,有很多不同的文件。
- 您使用了多少种不同类型的图表?在此示例中,它是房屋标准的 IMR,比例为 1/2、1/4、1/8 等。- 有不同的图表吗?例如,对于发送的代码产品,我们有一个包含 5 个不同脚本的 JMP 文件,在每个脚本中,我们尝试将“相同类型”的参数分组。例如,在反应性脚本中,我们将不同稀释度下的相同反应性结果分组,然后我们有另一个控制脚本,在这个脚本中,我们将所有控制批次分组,每个控制批次都有单独的图表。
- 您认为有多少脚本需要修改?我们可能有 180 多种不同的产品,每种产品都有单独的 JMP 文件,并且每个 JMP 文件中都有不同的脚本,这些脚本会根据要评估的参数而变化。我们没有准确估计要更改的脚本数量,但更改每个文件甚至根据新配置重新制作它们是一项艰巨的工作。
下面是他们的一个脚本的示例 - 如有任何建议我将不胜感激!
//I and MR Charts with Sample Labels
Control Chart(
Sample Label( :Lote Semielaborado Rg Lx ),
Group Size( 1 ),
KSigma( 3 ),
Chart Col(
:"House Standard 1/1"n,
Individual Measurement( Shade Zones( 1 ), Test 1( 1 ), Test 3( 1 ) ),
Moving Range,
Capability(
Distribution(
Continuous Distribution(
Column( :"House Standard 1/1"n ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Capability Analysis( LSL( 1 ), USL( 4 ) ),
Normal Quantile Plot( 1 )
)
)
)
),
Chart Col(
:"House Standard 1/2"n,
Individual Measurement( Shade Zones( 1 ), Test 1( 1 ), Test 3( 1 ) ),
Moving Range,
Capability(
Distribution(
Continuous Distribution(
Column( :"House Standard 1/2"n ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Capability Analysis(
LSL( 1 ),
USL( 4 ),
Sigma( 0.827145130419285 ),
Shewhart
),
Normal Quantile Plot( 1 ),
Process Capability( Use Column Property Specs )
)
)
)
),
Chart Col(
:"House Standard 1/4"n,
Individual Measurement( Shade Zones( 1 ), Test 1( 1 ), Test 3( 1 ) ),
Moving Range,
Capability(
Distribution(
Continuous Distribution(
Column( :"House Standard 1/4"n ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Capability Analysis(
LSL( 1 ),
USL( 4 ),
Sigma( 0.487424808997079 ),
Shewhart
),
Normal Quantile Plot( 1 ),
Process Capability( Use Column Property Specs )
)
)
)
),
Chart Col(
:" House Standard 1/8"n,
Individual Measurement( Shade Zones( 1 ), Test 1( 1 ), Test 3( 1 ) ),
Moving Range,
Capability(
Distribution(
Continuous Distribution(
Column( :" House Standard 1/8"n ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Capability Analysis(
LSL( 1 ),
USL( 4 ),
Sigma( 0.295408975149745 ),
Shewhart
),
Normal Quantile Plot( 1 ),
Process Capability( Use Column Property Specs )
)
)
)
),
Chart Col(
:"House Standard 1/16"n,
Individual Measurement( Shade Zones( 1 ), Test 1( 1 ), Test 3( 1 ) ),
Moving Range,
Capability(
Distribution(
Continuous Distribution(
Column( :"House Standard 1/16"n ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Capability Analysis(
LSL( 0 ),
USL( 4 ),
Sigma( 0.812374681661797 ),
Shewhart
),
Normal Quantile Plot( 1 ),
Process Capability( Use Column Property Specs )
)
)
)
),
Chart Col(
:"House Standard 1/32"n,
Individual Measurement( Shade Zones( 1 ), Test 1( 1 ), Test 3( 1 ) ),
Moving Range,
Capability(
Distribution(
Continuous Distribution(
Column( :"House Standard 1/32"n ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Capability Analysis( LSL( 0 ), USL( 4 ) ),
Normal Quantile Plot( 1 )
)
)
)
),
Chart Col(
:"House Standard 1/64"n,
Individual Measurement( Shade Zones( 1 ), Test 1( 1 ), Test 3( 1 ) ),
Moving Range,
Capability(
Distribution(
Continuous Distribution(
Column( :"House Standard 1/64"n ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Outlier Box Plot( 0 ),
Capability Analysis( Target( 0 ) ),
Normal Quantile Plot( 1 )
)
)
)
),
//Send Results to Report
SendToReport(
Dispatch( {"Individual Measurement of HS 1/1 SPEC P"}, "IR Chart of IM",
FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {"Individual Measurement of HS 1/1 SPEC P"},
"Control Chart Limits frame", FrameBox,
{Frame Size( 64, 208 )}
),
Dispatch( {}, "Moving Range of HS 1/1 SPEC P", OutlineBox, {Close( 1 )} ),
Dispatch( {"Moving Range of HS 1/1 SPEC P"}, "IR Chart of MR", FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {"Individual Measurement of HS 1/2 SPEC P"}, "IR Chart of IM",
FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {}, "Moving Range of HS 1/2 SPEC P", OutlineBox,
{Close( 1 )}
),
Dispatch( {"Moving Range of HS 1/2 SPEC P"}, "IR Chart of MR", FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {"Individual Measurement of HS 1/4 SPEC P"}, "IR Chart of IM",
FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {}, "Moving Range of HS 1/4 SPEC P", OutlineBox,
{Close( 1 )}
),
Dispatch( {"Moving Range of HS 1/4 SPEC P"}, "IR Chart of MR", FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {"Individual Measurement of HS 1/8 SPEC P"}, "IR Chart of IM",
FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {}, "Moving Range of HS 1/8 SPEC P", OutlineBox, {Close( 1 )} ),
Dispatch( {"Moving Range of HS 1/8 SPEC P"}, "IR Chart of MR", FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {"Individual Measurement of HS 1/16 SPEC P/N"},
"IR Chart of IM", FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {}, "Moving Range of HS 1/16 SPEC P/N", OutlineBox,
{Close( 1 )}
),
Dispatch( {"Moving Range of HS 1/16 SPEC P/N"}, "IR Chart of MR",
FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {"Individual Measurement of HS 1/32 SPEC P/N"},
"IR Chart of IM", FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {}, "Moving Range of HS 1/32 SPEC P/N", OutlineBox,
{Close( 1 )}
),
Dispatch( {"Moving Range of HS 1/32 SPEC P/N"}, "IR Chart of MR",
FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {"Individual Measurement of HS 1/64 SPEC N"}, "IR Chart of IM",
FrameBox,
{Frame Size( 657, 208 )}
),
Dispatch( {}, "Moving Range of HS 1/64 SPEC N", OutlineBox, {Close( 1 )} ),
Dispatch( {"Moving Range of HS 1/64 SPEC N"}, "IR Chart of MR", FrameBox,
{Frame Size( 657, 208 )}
)
)
);
谢谢,
本