cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
dimacapi07
Level I

Save Summary Data Table in JMP script not working

Hello, 

 

I am doing some control charts with the nelson rules, but I need to explore the exact data from the nelson rules. 

My script looks like this: 

 

dt = Current Data Table();

obj = dt << Control Chart Builder(
	Show Two Shewhart Charts(0),
	Sort by Row Order(1),
	Variables(Subgroup(:Batch), Y(:Wash 1 Viability)),
	Chart(
		Points(Statistic("Individual")),
		Limits(Sigma("Moving Range")),
		Warnings(Test 1(1)),
		Set Control Limits({LCL(0.8), UCL(0.96), Avg(0.91)})
	)
);

obj << Save Summary Table;

Everything works correctly until the control chart. However the following step which is saving the summary table doesn't work, I need to be able to view this table and to work with it in further steps of the process. Do you have any idea on what would be the issue in this scrip and why I am not able to generate the summary table this way?. 

 

 

Thank you. 

 

 

Kind Regards, 

 

Diana 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Save Summary Data Table in JMP script not working

You might have to use << Save Summaries instead of << Save Summary Table

jthi_1-1662389212523.png

 

jthi_0-1662389201134.png

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Coating.jmp");
obj = dt << Control Chart Builder(Variables(Y(:Weight), Subgroup(:Sample)));
obj << Save Summaries;

 

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Save Summary Data Table in JMP script not working

You might have to use << Save Summaries instead of << Save Summary Table

jthi_1-1662389212523.png

 

jthi_0-1662389201134.png

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Coating.jmp");
obj = dt << Control Chart Builder(Variables(Y(:Weight), Subgroup(:Sample)));
obj << Save Summaries;

 

-Jarmo
dimacapi07
Level I

Re: Save Summary Data Table in JMP script not working

Thanks it worked, getting used to JMP Script