循環添加到表達式你好,
我總體上試圖創建一個循環來進行過程能力計算和數據表的繪圖。我嘗試這樣做的方法是構建一個包含進程功能的表達式。我正在考慮一個表達式,因為在循環完成之後,我想在循環外一次評估過程能力。
目標::
- 開始一個循環
- 創建具有Process Capability的表達式
- 為每次迭代添加該表達式以獲取另一列的進程能力
- 閉環
- 使用所有流程功能評估整個表達式
- 從表中導入規格限制
-set spec limit作為列屬性
如果有更好的方法,請告訴我。
謝謝
Re:循環添加到表達式我相信下面帶註釋的腳本是開發腳本的更好方法
Names Default To Here( 1 );
// open your data table, or point to the already open table
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
// or
// dt = current data table();
colNamesList = dt << get column names( string, continuous );
// Open your limits table
// Loop across the limits table, and take that information and
// apply it to your measurement data table
// Run the Process Capability code below
Process Capability(
Process Variables( Eval( colNamesList ) ),
Spec Limits Dialog( "No (skip columns with no spec limits)" ),
Goal Plot( 1 ),
Capability Index Plot( 1 ),
Process Performance Plot( 0 )
);