cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
%3CLINGO-SUB%20id%3D%22lingo-sub-636890%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20Wie%20entferne%20ich%20die%20Prozessf%C3%A4higkeitsausgabe%20aus%20der%20Regeldiagrammausgabe%20in%20einem%20Skript%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636890%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EJa%2C%20Sie%20k%C3%B6nnten%20Folgendes%20tun%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0A%0A%2F%2FAdd%20a%20spec%20limit%20to%20some%20sample%20data%3A%0Adt%20%3D%20Open(%20%22%24Sample_data%2FQuality%20Control%2FCoating.jmp%22%20)%3B%0Adt%3AWeight%20%26lt%3B%26lt%3B%20Set%20Property(%0A%20%22Spec%20Limits%22%2C%0A%20%7BLSL(%2018%20)%2C%20USL(%2023%20)%2C%20Show%20Limits(%200%20)%7D%0A)%3B%0A%0A%2F%2FOpen%20the%20control%20chart%20builder%20-%20the%20process%20capability%20will%20be%20opened%0Accb%20%3D%20dt%20%26lt%3B%26lt%3B%20Control%20Chart%20Builder(%0A%20Variables(%20Subgroup(%20%3ASample%20)%2C%20Y(%20%3AWeight%20)%20)%2C%0A%20Chart(%20Position(%201%20)%20)%2C%0A%20Show%20Control%20Panel(%200%20)%0A)%3B%0A%0A%2F%2FFind%20all%20process%20capability%20outline%20boxes%20and%20close%20them%0A(ccb%20%26lt%3B%26lt%3B%20XPath(%22%2F%2FOutlineBox%5B%40helpKey%3D'Capability%20Analysis'%5D%22))%20%26lt%3B%26lt%3B%20Close(1)%0A%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-636891%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20Wie%20entferne%20ich%20die%20Prozessf%C3%A4higkeitsausgabe%20aus%20der%20Regeldiagrammausgabe%20in%20einem%20Skript%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636891%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ESie%20k%C3%B6nnen%20Show%20Capability%20(0)%20als%20Teil%20Ihres%20Skripts%20verwenden%2C%20um%20zu%20verhindern%2C%20dass%20die%20F%C3%A4higkeitsanalyse%20angezeigt%20wird.%20Pseudobeispiel%20unten%3A%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Eccb%20%3D%20Control%20Chart%20Builder(%0A%20Variables(%20Y(%20%3AColumnName%20)%20)%2C%0A%20Chart(%20Position(%201%20)%20)%2C%0A%20Show%20Control%20Panel(%200%20)%2C%0A%20show%20capability(%200%20)%20%2F%2F%26lt%3B--this%0A)%3B%0A%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-636896%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20Wie%20entferne%20ich%20die%20Prozessf%C3%A4higkeitsausgabe%20aus%20der%20Regeldiagrammausgabe%20in%20einem%20Skript%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636896%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ECool!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-636837%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EWie%20entferne%20ich%20die%20Prozessf%C3%A4higkeitsausgabe%20aus%20der%20Regeldiagrammausgabe%20innerhalb%20eines%20Skripts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636837%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIch%20schreibe%20ein%20Skript%2C%20um%20benutzerdefinierte%20Kontrolldiagramme%20f%C3%BCr%20verschiedene%20Variablen%20in%20einem%20Datensatz%20zu%20erstellen.%20Da%20die%20Spalten%20jedoch%20Grenzen%20haben%2C%20wird%20die%20Prozessf%C3%A4higkeitsanalyse%20automatisch%20in%20der%20Ausgabe%20erstellt.%20Gibt%20es%20Code%2C%20den%20ich%20zu%20meinem%20Skript%20hinzuf%C3%BCgen%20kann%2C%20um%20die%20Prozessf%C3%A4higkeitsanalyse%20automatisch%20zu%20entfernen%20(anstatt%20sie%20manuell%20zu%20minimieren%2C%20nachdem%20der%20Bericht%20erstellt%20wurde)%3F%20Jmp%2017%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-636837%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EAutomatisierung%20und%20Skripterstellung%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EQualit%C3%A4ts-%20und%20Verfahrenstechnik%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Choose Language Hide Translation Bar
Abby_Collins14
Level III

How to remove process capability output from control chart output within a script?

I am writing a script to make custom control charts for various variables in a data set. However since the columns have limits, the process capability analysis is automatically produced in the output. is there any code I can add to my script to remove the process capability analysis automatically (opposed to minimizing it manually after the report is created)? Jmp 17

3 ACCEPTED SOLUTIONS

Accepted Solutions
ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to remove process capability output from control chart output within a script?

Yep, you could do this:

 

Names Default To Here( 1 );

//Add a spec limit to some sample data:
dt = Open( "$Sample_data/Quality Control/Coating.jmp" );
dt:Weight << Set Property(
	"Spec Limits",
	{LSL( 18 ), USL( 23 ), Show Limits( 0 )}
);

//Open the control chart builder - the process capability will be opened
ccb = dt << Control Chart Builder(
	Variables( Subgroup( :Sample ), Y( :Weight ) ),
	Chart( Position( 1 ) ),
	Show Control Panel( 0 )
);

//Find all process capability outline boxes and close them
(ccb << XPath("//OutlineBox[@helpKey='Capability Analysis']")) << Close(1)

View solution in original post

Re: How to remove process capability output from control chart output within a script?

You can use Show Capability (0) as part of your script to keep the capability analysis from showing up. Pseudo-example below:

ccb = Control Chart Builder(
	Variables( Y( :ColumnName ) ),
	Chart( Position( 1 ) ),
	Show Control Panel( 0 ),
	show capability( 0 ) //<--this
);

View solution in original post

ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to remove process capability output from control chart output within a script?

3 REPLIES 3
ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to remove process capability output from control chart output within a script?

Yep, you could do this:

 

Names Default To Here( 1 );

//Add a spec limit to some sample data:
dt = Open( "$Sample_data/Quality Control/Coating.jmp" );
dt:Weight << Set Property(
	"Spec Limits",
	{LSL( 18 ), USL( 23 ), Show Limits( 0 )}
);

//Open the control chart builder - the process capability will be opened
ccb = dt << Control Chart Builder(
	Variables( Subgroup( :Sample ), Y( :Weight ) ),
	Chart( Position( 1 ) ),
	Show Control Panel( 0 )
);

//Find all process capability outline boxes and close them
(ccb << XPath("//OutlineBox[@helpKey='Capability Analysis']")) << Close(1)

Re: How to remove process capability output from control chart output within a script?

You can use Show Capability (0) as part of your script to keep the capability analysis from showing up. Pseudo-example below:

ccb = Control Chart Builder(
	Variables( Y( :ColumnName ) ),
	Chart( Position( 1 ) ),
	Show Control Panel( 0 ),
	show capability( 0 ) //<--this
);
ih
Super User (Alumni) ih
Super User (Alumni)

Re: How to remove process capability output from control chart output within a script?

Cool!

Recommended Articles