How to use Get limits function in JMP ScriptHi
I'm plotting Levey Jenning control chart with different phases and want to set different spec for different phase.
When I do it manually, I use get limit function and things work ok.
However, when I try to script it. it doesn't get control limit from the file.
Control Chart(
Sample Label( :DateValue ),
Phase( :Class ),
KSigma( 3 ),
Chart Col(
:Name( "Mean(Residual MAX_SOA_MIN_PWR_X_DBM)" ),
Levey Jennings,
),
get limits("/C:/Transmission Prod SPC/new/control limit.jmp")
);
ScriptingRe: How to use Get limits function in JMP ScriptHave you tried to do this in Control Chart Builder? The legacy control chart platforms might be a little squirrly
Re: How to use Get limits function in JMP ScriptDo you get an error? I was able to get this to work with the attached limits table and the following code:
dt=Open("$SAMPLE_DATA/Quality Control/Coating.jmp");
Column(dt, "Sample")<ob=dt<Sample Label( :Pin ),
Phase( :Sample ),
KSigma( 3 ),
Chart Col(
:Weight,
Levey Jennings,
),
Get Limits("CoatingLimits2.jmp")
);
Re: How to use Get limits function in JMP ScriptHi
in your example, you have 8 phase (Sample 1 - 8), however, in your limit file, you have only 2 limits (without specify the phase).
So, I think control limit you got from the plot is the auto-calculated by JMP, not user specific.
Thanks
Yanee
Re: How to use Get limits function in JMP ScriptDid you try it? If I do not use the limits file, I get this.

If I do use the limits file, I get this.

My limits file is specifying JMP to use the same limits for all phases, but the limits given in the file ARE used.