带for循环的摘要表的JSL脚本您好,我正在为带有for循环的摘要表创建脚本,因为PCM测试中有多个参数。我创建的脚本基于JSL脚本生成器,并用colNames [i]替换了mean()。它确实起作用,但是为每个参数弹出了数百个数据表。
以前,我对图形有类似的问题,一位先生回答了解决方案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脚本不需要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
dt << Summary(
Group( :WF_NUM ),
Mean( colNames ),
Freq( "None" ),
Weight( "None" )
);