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
Jakob
Level II

Manage spec limits will not accept -/- or +/+ tolerances when using JSL

Hi all

 

I made a nice script importing text files from my Zeiss CMM and adding Spec limits to each results column, it uses  Manage spec limits

but my script will not accept -/- or +/+ tolerances when using JSL, because a warning box pops up.

So no tolerances are added to my columns, when I retry manually I can accept the import 

 

Jakob_0-1647007092452.png

 

Thanks

 

Jakob

 

 

1 REPLY 1
Georg
Level VII

Re: Manage spec limits will not accept -/- or +/+ tolerances when using JSL

Did you have a look at the Scripting index?

Manage Spec limits needs a certain format like the below script shows.

Or see JMP Help: Manage Spec Limits Utility (jmp.com)

If you want to set it manually, you need to use a specific syntax, like below. Have a look at the "table Script" to see the syntax.

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Cities.jmp" );
obj = dt <<
Process Capability(
	Process Variables( :OZONE, :CO, :SO2, :NO ),
	Spec Limits(
		Import Spec Limits(
			"$SAMPLE_DATA/CitySpecLimits.jmp"
		)
	)
);
obj << Save Spec Limits to New Table;
		Set Property( "Spec Limits", {LSL( 16 ), USL( 24 ), Target( 20 )} ),
Georg