Subscribe Bookmark RSS Feed

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

chris_dennis

Community Trekker

Joined:

Nov 21, 2014

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
tonya_mauldin0

Joined:

Jan 21, 2015

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 )

);