For the latest version of JMP Help, visit JMP.com/help.


Publication date: 11/29/2021

Process Capability

The Process Capability platform has replaced the Capability platform. Scripts that use Capability might not work in the future. It is recommended to use the Process Capability platform for new scripts and update any old scripts using Capability to Process Capability.

Specification Limits in JSL Scripts

Specification limits can be read from JSL scripts, column properties, or from a specification limits data table. As an example of reading in specification limits from JSL, consider the following example:

dt = Open( "$SAMPLE_DATA/Cities.jmp" );
dt << Process Capability(
	Process Variables( :OZONE, :CO, :SO2, :NO ),
	Spec Limits(
		OZONE( LSL( 0.075 ), Target( 0.15 ), USL( 0.25 ) ),
		CO( LSL( 5 ), Target( 7 ), USL( 12 ) ),
		SO2( LSL( 0.01 ), Target( 0.04 ), USL( 0.09 ) ),
		NO( LSL( 0.01 ), Target( 0.025 ), USL( 0.04 ) )
	)
);

Using a Limits Data Table and JSL

There is no extra syntax needed to differentiate between the two table types (wide and tall) when they are read using JSL. This example is based on the CitySpecLimits.jmp sample data table. It places the specification limits data table inside an Import Spec Limits() expression.

dt = Open( "$SAMPLE_DATA/Cities.jmp" );
dt << Process Capability(
	Process Variables( :OZONE, :CO, :SO2, :NO ),
	Spec Limits(
		Import Spec Limits(
			"$SAMPLE_DATA/CitySpecLimits.jmp"
)));
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).