带有 for 循环的汇总表的 JSL 脚本您好,我正在用 for 循环创建一个汇总表脚本,因为 PCM 测试中有多个参数。我创建的脚本基于 JSL 脚本生成器,并将平均值 () 替换为 colNames [i]。它确实有效,但会为每个参数弹出 100 个数据表。
之前,我在图表方面也遇到过类似的问题,一位先生回复了我解决方案: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" )
);