帶有 for 迴圈的總計表 JSL 腳本您好,我正在為帶有 for 循環的匯總表建立腳本,因為 PCM 測試有多個參數。我創建的腳本基於 JSL 腳本產生器,並將 Mean () 替換為 colNames [i]。它確實有效,但為每個參數彈出了數百個數據表。
以前,我對圖表有類似的問題,一位紳士用解決方案 nw = new window() 回覆了。我嘗試了這個,但它不起作用,所以我嘗試了 dt_summary = new table() ,但也不起作用。我可以就這個問題得到你的建議嗎?
dt = Current Data Table();
// Get the all of the numeric, continuous column names
colNames = dt << get column names( string, continuous );
nw = newtable (For( i = 1, i <= N Items( colNames ), i++, // N Items( colNames ), i++,
// Mean value based on Wafer number and LotID
dt<< Summary(
Group( :WF_NUM),
Mean( colNames[i] ),
Freq( "None" ),
Weight( "None" )
)));
感謝您的協助。
多明尼克
自動化和腳本編寫大規模客製化回复:帶有 for 循環的匯總表的 JSL 腳本你好@txnelson
感謝您的及時回復和簡單的解決方案。
問候
多米尼克
回复:帶有 for 循環的匯總表的 JSL 腳本不需要 For() 循環。所有的方法都可以簡單地同時完成
Names Default To Here( 1 );
dt = Current Data Table();
// Get the all of the numeric, continuous column names
colNames = dt << get column names( string, continuous );
// Mean value based on Wafer number and LotID
sumDT = dt << Summary(
Group( :WF_NUM ),
Mean( colNames ),
Freq( "None" ),
Weight( "None" )
);