cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
chris_dennis
Level III

JSL Does anyone have a solution to run Process Capability from script without interacting directly?

I have spec information in a spec limits table the same as what the Process Capability function would generate from the menu pull down mode.

I have added all the spec limits to the column properties of the data table.

I have created a list of the parameters:

par_list = ":BOW, :TIR, :SFPD, :TTV, :WARP";

Coping script from Process Capability analysis done manually from data set I have:

ADE << Process Capability(Process Variables( :TTV, :TIR, :SFPD, :BOW, :WARP ),

Spec Limits(

TTV( LSL( . ), Target( . ), USL( 5 ) ),

TIR( LSL( . ), Target( . ), USL( 3.5 ) ),

SFPD( LSL( . ), Target( . ), USL( 0.25 ) ),

BOW( LSL( -55 ), Target( 0 ), USL( 55 ) ),

WARP( LSL( . ), Target( . ), USL( 55 ) )

),

Color Out of Spec Values( 1 ),

Goal Plot( 1, Shade Levels( 1 ), Label Overall Sigma Points( 1 ) )

);

Modification to make it run failed on first line:

ADE << Process Capability(Process Variables( " || par_list || " ),

Not sure how to handle the Spec Limits section input.

1 REPLY 1

Re: JSL Does anyone have a solution to run Process Capability from script without interacting directly?

Process capability can directly consume a spec limits table.  Below is an example:

dtspec=Open(ut home || "tests/Platforms/Quality/myspec.jmp");  //open spec limits datadata

dt=Open("$Sample_Data/Fitness.jmp");

obj=dt<<Process Capability(

Process Variables(

:Age,

:Weight,

:Oxy,

:Runtime,

:RunPulse,

:RstPulse,

:MaxPulse

),

Spec Limits(

Import Spec Limits("myspec.jmp")

),

Goal Plot( 1 )

);