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

How to auto Save Spec Limits as Column Properties of manage spec window

Hi, JMPer

Currently, I used below jsl.

obj = dt << 
	Manage Limits(
	Process Variables(:FAI_1, :FAI_2, :FAI_3, :FAI_4, :FAI_5
	),
	Load From Limits Table( "LIMIT.jmp" ),
	SendToReport( Dispatch( {}, "Spec Limits", OutlineBox, {Close( 1 )} ) ),
);

obj << Show Limits All;
obj << Save Spec Limits as Column Properties;

It need to manual click Save Spec Limits as Column Properties of manage spec window. Then the spec limits will effective on graph build.

How to auto Save Spec Limits as Column Properties of manage spec window?

 

CompleteLeopard_0-1709360673175.png

 

Save Spec Limits as Column Properties;

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to auto Save Spec Limits as Column Properties of manage spec window

Here is an example of using Manage Limits where the limits are applied without having to do any manual clicking

Names Default To Here( 1 );

dtLimits = New Table( "Cities Limits",
	Add Rows( 4 ),
	New Column( "Process", Character, Set Values( {"OZONE", "CO", "SO2", "NO"} ) ),
	New Column( "LSL", Numeric, Set Values( [0, 0, 0, 0] ) ),
	New Column( "Target", Numeric, Set Values( [0.2, 15, 0.05, 0.035] ) ),
	New Column( "USL", Numeric, Set Values( [0.4, 30, 0.1, 0.07] ) ),
	Set Label Columns( :Process )
);
dt = Open( "$SAMPLE_DATA/Cities.jmp" );
obj = dt << Manage Limits(
	Process Variables( :OZONE, :CO, :SO2, :NO ),
	Load From Limits Table( dtLimits )
);
obj << Save to Column Properties;
obj << close window;
Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: How to auto Save Spec Limits as Column Properties of manage spec window

Here is an example of using Manage Limits where the limits are applied without having to do any manual clicking

Names Default To Here( 1 );

dtLimits = New Table( "Cities Limits",
	Add Rows( 4 ),
	New Column( "Process", Character, Set Values( {"OZONE", "CO", "SO2", "NO"} ) ),
	New Column( "LSL", Numeric, Set Values( [0, 0, 0, 0] ) ),
	New Column( "Target", Numeric, Set Values( [0.2, 15, 0.05, 0.035] ) ),
	New Column( "USL", Numeric, Set Values( [0.4, 30, 0.1, 0.07] ) ),
	Set Label Columns( :Process )
);
dt = Open( "$SAMPLE_DATA/Cities.jmp" );
obj = dt << Manage Limits(
	Process Variables( :OZONE, :CO, :SO2, :NO ),
	Load From Limits Table( dtLimits )
);
obj << Save to Column Properties;
obj << close window;
Jim