Hello Craige,
Thanks for the previous answer.
I am running the following variability script, but it is not showing the result. Please check the code.
dt1 = open("C:\Users\llenovo\Desktop\RAW1.jmp");
dt2 = open("C:\Users\llenovo\Desktop\Parameters.jmp");
dt3 = dt1<<summary(group(ParameterId, USL, LSL));
for(i=1, i<=2, i++,
for(k = 2, k<=nrow(dt3), k++,
if(:column(dt2, 1)) == column(dt3, 1),
usl = column(dt3, 2);
lsl = column(dt3, 3);
));
dt1 << Variability Chart(
Y( :MeasuredValue ),
X( :EntryDate, :LotID, :WaferNo ),
Analysis Type( Name( "Choose best analysis (EMS REML Bayesian)" ) ),
Std Dev Chart( 0 ),
where(:ParameterId == Eval((char(column(dt2, 1))))),
SendToReport(
Dispatch(
{"Variability Chart for MeasuredValue"},
"",
NomAxisBox,
Rotated Tick Labels( 1 )
),
Dispatch(
{"Variability Chart for MeasuredValue"},
"",
NomAxisBox( 2 ),
Rotated Tick Labels( 1 )
),
Dispatch(
{"Variability Chart for MeasuredValue"},
"",
NomAxisBox( 3 ),
Rotated Tick Labels( 1 )
),
Dispatch(
{"Variability Chart for MeasuredValue"},
"2",
ScaleBox,
{Min( 10 ), Max( 500 ), Inc( 50 ),Minor Ticks( 2 ),
Add Ref Line( usl, Solid, {255, 0, 0}, "lsllabel" ),
Add Ref Line( lsl, Solid, {255, 0, 0}, "usllabel" ), Show Major Grid( 1 ),
Show Minor Grid( 1 )}
),
);
);
);