將 R&R 報告測量到數據表中我需要為許多系統建立儀表 R&R 研究,如何將儀表 R&R 報告的結果匯出到資料表中。
可以建立一個腳本來將重複性、再現性…資料提取到表中嗎?
大規模客製化分享和交流成果回覆:將儀表 R&R 報告寫入資料表謝謝。 我也確認了元資料排序。 我查看了 V17 腳本指南(pdf 和幫助),但沒有找到您引用的程式碼片段。 無論哪種方式,我現在都可以從先前加載的元資料中提取規格限制(PS:我只導入 LSL 和 USL),並且該方法完美運行。 一個很好的量具資料綜合表。 我只需要從高到低添加 R&R 排序即可完成。 非常感謝您的幫忙。
colList = dt << get column names;
// Create a starter data table for placing all of the results in
dtFinal = New Table( "Final Results Table" );
Current Data Table( dt );
Limits={};
ncols = N Items(colList);
For( i = 3, i <=ncols, i++,
Limits=:Column(colList[i])<<GET property=""></GET><BR />dtReport = dtFinal << Split(<BR />Split By( :"~AIAG abbrev"n ),<BR />Split( :"% of Tolerance"n ),<BR />Group( :Y ),<BR />Output Table( "Gauge R&R Report" ),<BR />Remaining Columns( Drop All ),<BR />Sort by Column Property<BR />);<BR />Close( dtFinal, nosave );回覆:將儀表 R&R 報告寫入資料表這是遺留程式碼。 在版本 17 及更高版本中,這已被編輯 MSA 元資料所取代。
如果您查看 17 之前的 JMP 版本,您將在腳本索引中找到以下資訊:
obj<< "儀表 R&R"n( K 西格瑪、公差、LSL、USL )
計算並顯示儀表 R&R(再現性和重複性)摘要報告。指定公差或規格限。
回覆:將儀表 R&R 報告寫入資料表我找不到有關這些 Varability Chart() 參數的任何文件。 我為這個遺漏輸入了一個錯誤。
回覆:將儀表 R&R 報告寫入資料表此範例作為腳本解決方案的起點非常有用,但沒有解釋下面一行中傳遞的參數。(6,0,0,0),影響分析輸出以及計算值,但我無法找到這些參數的定義或描述位置。
Name( "Gauge R&R" )(6, 0, 0, 0),
看來第二個參數會影響報告中包含的容差百分比(0= 不包含此列,1= 包含此列)。我在哪裡可以了解這些設定值及其影響?
回覆:將儀表 R&R 報告寫入資料表太感謝了!我遇到了問題
報告(變異性圖表[1])[“GaugeR&R”][表格框(1)]<<使組合資料表只會保存第一列,我現在知道它應該如何完成回覆:將儀表 R&R 報告寫入資料表這是我認為與您想要的非常接近的示例
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Variability Data/wafer.jmp" );
// Add some new columns to allow for the sample data
// table to look somewhat like your table
For( i = 2, i <= 5, i++,
dt << New Column( "Y" || Char( i ), formula( Random Uniform( 80, 120 ) ) )
);
colList = dt << get column names( string, continuous );
// Create a starter data table for placing all of the results in
dtFinal = New Table( "Final Results Table" );
// Loop across all of the columns and extract the required data
For( i = 1, i <= N Items( colList ), i++,
vc = dt << Variability Chart(
invisible,
Y( Eval( colList[i] ) ),
X( :Operator, :Wafer ),
Model( "Main Effect" ),
Historical Sigma( 0 ),
Name( "Gauge R&R" )(6, 0, 0, 0),
Name( "Gauge R&R Report" )(1)
);
// Point at the report table you are interested in, and
// pass the message to it to create the data table from it
dtRR = Report( vc )["Gauge R&R"][Table Box( 1 )] << Make combined Data Table;
dtFinal = dtFinal << concatenate( dtRR, append to first table( 1 ) );
Close( dtRR, nosave );
);
// Make the transposed data table
dtReport = dtFinal << Split(
Split By( :Measurement Source ),
Split(
:Name( "~AIAG abbrev" ),
:Name( "Variation (6*StdDev)" ),
:Name( "~AIAG Label" ),
:Name( "which is 6*sqrt of" )
),
Group( :Y ),
Sort by Column Property,
Output Table("Guage R&R Report")
);
另外,從「這就是你如何做 X」的角度來看,《腳本指南》並不是一本真正好的範例書。這是一份旨在教授語言的文件。因此,我建議您花更多時間使用它,您將學習如何使用它的元件來產生腳本。
回覆:將儀表 R&R 報告寫入資料表感謝您的及時回复,
我正在嘗試建立一個腳本來遍歷表 1 中的所有列以產生 GRR 資料並將它們移至資料表 2 中,然後產生圖形 XY 圖來模擬下面的客戶圖。
數據表1

數據表2

最終圖表

現在我正在一步一步地進行,我可以產生 GRR,新的資料馴服,但我堅持如何將報告中的值放入 GRR 表中。
我是一個十足的菜鳥,試著閱讀腳本手冊...但找不到具體的範例...謝謝
////////////////////////////////////////////////// ///////// ////////////////////////////////////////// /////
Variability Chart(
Y( :CONT_VCC_mV ),
X( :X_Y ),
Model( "Main Effect" ),
Historical Sigma( 0 ),
Name( "Gauge R&R" )(6, 0, 0, 0),
Name( "Gauge R&R Report" )(1),
SendToReport( Dispatch( {}, "Gauge R&R", OutlineBox, {Set Title( "Gauge R&R" )} ) )
);
dt = New Table( "GRR_TABLE" );
dt << New Column( "TEST_NAME" );
dt << New Column( "Repeatability" );
dt << New Column( "Reproducibility" );
dt << New Column( "Guage R&R" );
dt << New Column( "Part Variation" );
dt << New Column( "Total Variation" );
dt << Add Rows( 1 );
// Get test name
x = Column( "TEST_NAME" );
x[1] = "CONT_VCC_mV"; // How to get this from Chart...
//Get Repeatability
Y = Column( "Repeatability " );
x[2] = r[Outline Box( "Gauge R&R" ), Number Col Box( "Variation (6*StdDev)", 1 )] << get( 1 );
//Get Reproducibility
//Get Guage R&R
//Get Part Variation
//Get Total Variation
// XY, Plot results GRR_TABLE
回覆:將儀表 R&R 報告寫入資料表這是提取您要求的資料表的範例。
Names default to here(1);
dt=open("$SAMPLE_DATA/Variability Data/wafer.jmp");
vc = dt << Variability Chart(
Y( :Y ),
X( :Operator, :Wafer ),
Model( "Main Effect" ),
Historical Sigma( 0 ),
Name( "Gauge R&R" )(6, 0, 0, 0),
Name( "Gauge R&R Report" )(1)
);
// Point at the report table you are interested in, and
// pass the message to it to create the data table from it
dtRR = report(vc)["Gauge R&R"][TableBox(1)] << Make into Data Table;
有關使用輸出顯示樹的文件位於腳本指南中。