cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
CompleteLeopard
Level III

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

Recommended Articles