Retrieving limits when running chart scriptIs there a way to script the retrieval of limits from a separate table each time the chart script is run? IR chart creation allows "get limits" functionality but the limits are saved into the script and will not retrieve revised limits from the same source table during subsequent chart retrieval.
JMP 17
Existing code
:"NAME, %"n,
Individual Measurement( Avg( 0.013 ), LCL( -0.039 ), UCL( 0.066 ) ).
Automation and ScriptingRe: Retrieving limits when running chart scriptThe below example from the Scripting Index illustrates the syntax to use to read in the limits each time the Control Chart is run. If the limits change in the limits table between runs, the control limits when change in the new chart.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Quality Control/Coating.jmp" );
obj = dt << Control Chart(
Sample Size( :Sample ),
Chart Col( :Weight, XBar, R ),
Get Limits( "$SAMPLE_DATA/Quality Control/CoatingLimits.jmp" )
);