In my script below the second append to winSPCdata won’t add to the window while the script is running but then if I go back and just run that part it adds to the window. Why is this happening?
winSPCdata = New Window("Post data", outline box( "Charts",
)
);
ColListCD = dtStackedSPC2 << get column names;
ColListCal = dtAFMSplitData << get column names;
for(a=6, a<= 11, a++,
winSPCdata << append (dtStackedSPC2 << Variability Chart(
Y( ColListCD[a] ),
X( :CreatedOnDateTimeUTC, :Lot ID, :Stamp ID, :Prints ),
Connect Cell Means( 1 ),
Std Dev Chart( 0 ),
Points Jittered( 1 ),
Show Box Plots( 1 ),
Mean Diamonds( 1 )
);
);
);
for(b=5, b<=9, b++,
winSPCdata << append (dtAFMSplitData << Variability Chart(
Y( ColListCal[b] ),
X( :CreatedOnDateTimeUTC )
);
);
);