<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JMP script to create control charts with phases in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/481210#M72551</link>
    <description>&lt;P&gt;In addition to markbailey's outline here is an example (from scripting index + added spec limits) that illustrates how this can be done&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Quality Control/Coating.jmp" );

dt:Weight &amp;lt;&amp;lt; Set Property(
	"Control Limits",
	{Levey Jennings( Avg( 20.396875 ), LCL( 19 ), UCL( 21 ) )}
);
		
obj = dt &amp;lt;&amp;lt; Control Chart(
	Sample Size( :Sample ),
	KSigma( 3 ),
	Chart Col( :Weight ),
	Chart Type( Levey Jennings )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 Apr 2022 20:50:15 GMT</pubDate>
    <dc:creator>Georg</dc:creator>
    <dc:date>2022-04-21T20:50:15Z</dc:date>
    <item>
      <title>JMP script to create control charts with phases</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/480905#M72541</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm asking your support because I need to create control chart with fixed limits and phases and I want to get a script out of it.&lt;/P&gt;&lt;P&gt;I managed to created a DT with the limit keys and values and to create the control charts I need from "legacy control charts&amp;gt;Levey-Jennings" and then to get limits from the DT created before.&lt;/P&gt;&lt;P&gt;Now, when I save the script I'm not getting any reference to the limits DT therefore if I rerun it I'm getting automatically calculated limits.&lt;/P&gt;&lt;P&gt;Can you please give me an hint on how to embed the "get limits" function in the script?&lt;/P&gt;&lt;P&gt;Below the piece of script I obtained so far.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Control Chart(
	Sample Label( :Data ),
	Phase( :Phase ),
	KSigma( 3 ),
	Chart Col( :Li, Levey Jennings( Phase Level( "1" ), Phase Level( "2" ) ) ),
	Chart Col( :Na, Levey Jennings( Phase Level( "1" ), Phase Level( "2" ) ) ),
	Chart Col( :Mg, Levey Jennings( Phase Level( "1" ), Phase Level( "2" ) ) ),
	Chart Col( :Al, Levey Jennings( Phase Level( "1" ), Phase Level( "2" ) ) ),
	Chart Col( :Cr, Levey Jennings( Phase Level( "1" ), Phase Level( "2" ) ) ),
	Chart Col( :Ni, Levey Jennings( Phase Level( "1" ), Phase Level( "2" ) ) ),
	Chart Col( :Ga, Levey Jennings( Phase Level( "1" ), Phase Level( "2" ) ) ),
	Chart Col( :K, Levey Jennings( Phase Level( "1" ), Phase Level( "2" ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:23:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/480905#M72541</guid>
      <dc:creator>js1985</dc:creator>
      <dc:date>2023-06-11T11:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: JMP script to create control charts with phases</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/480952#M72543</link>
      <description>&lt;P&gt;JMP is looking for the pre-determined control limit information in a data column property. Define this property for each data column that is to be plotted before launching the control chart.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:45:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/480952#M72543</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-04-21T14:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: JMP script to create control charts with phases</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/481210#M72551</link>
      <description>&lt;P&gt;In addition to markbailey's outline here is an example (from scripting index + added spec limits) that illustrates how this can be done&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Quality Control/Coating.jmp" );

dt:Weight &amp;lt;&amp;lt; Set Property(
	"Control Limits",
	{Levey Jennings( Avg( 20.396875 ), LCL( 19 ), UCL( 21 ) )}
);
		
obj = dt &amp;lt;&amp;lt; Control Chart(
	Sample Size( :Sample ),
	KSigma( 3 ),
	Chart Col( :Weight ),
	Chart Type( Levey Jennings )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Apr 2022 20:50:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/481210#M72551</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2022-04-21T20:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: JMP script to create control charts with phases</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/481285#M72563</link>
      <description>&lt;P&gt;Thanks Mark and Georg,&lt;/P&gt;&lt;P&gt;the solution to set the limits into the column property is working but doesn't fit my need to "store" historical limits in the control chart.&lt;/P&gt;&lt;P&gt;I need to store all my data in a DT where I indicate the corresponding phases, the script should pickup the data and plot them against the limits and phases store in the limits DT. How can I replicate in a script the "get limits" function which is in the legacy control chart menu?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 06:42:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/481285#M72563</guid>
      <dc:creator>js1985</dc:creator>
      <dc:date>2022-04-22T06:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: JMP script to create control charts with phases</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/481389#M72567</link>
      <description>&lt;P&gt;You can also store the limits in a data table instead of a specific column property. Have you read the &lt;A href="https://www.jmp.com/support/help/en/16.2/#page/jmp/legacy-control-charts.shtml#" target="_self"&gt;documentation for the legacy control charts&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 11:29:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/481389#M72567</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-04-22T11:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: JMP script to create control charts with phases</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/481843#M72624</link>
      <description>&lt;P&gt;Here is a blog post that details how to do this with the newer control chart builder platform.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/JMPer-Cable/Creating-a-phase-control-chart-with-historical-limits-for-each/ba-p/33738" target="_blank"&gt;Creating a phase control chart with historical limits for each phase - JMP User Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This functionality will not work for legacy Levey Jennings charts.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 11:55:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-script-to-create-control-charts-with-phases/m-p/481843#M72624</guid>
      <dc:creator>tonya_mauldin</dc:creator>
      <dc:date>2022-04-25T11:55:45Z</dc:date>
    </item>
  </channel>
</rss>

