<?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: Spec Limit and MSA Column Property metadata not always visible to Analysis Tools in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658684#M84793</link>
    <description>&lt;P&gt;It could be that it just looks like the values are set correctly, when in reality they are not. Try adding LSL, Target and USL when you are setting the limits.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

x = 51;
y = 100;
i = 1;
colListLimits = {"height", "weight"};

Eval(
	Eval Expr(
		dt:(Column(colListLimits[i])) &amp;lt;&amp;lt; Set Property("Spec Limits", {LSL(Expr(y - x)), Target(Expr(x)), USL(Expr(y))})
	)
);

dt:(Column(colListLimits[i])) &amp;lt;&amp;lt; get property("Spec Limits");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To see what type of syntax to use, set limits manually to some column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1689401476762.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54744i01248DD689DFF00C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1689401476762.png" alt="jthi_0-1689401476762.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Right click on the column header after adding the limits and select Copy Column Properties&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1689401498009.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54745iDC0BCD90BDC83216/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1689401498009.png" alt="jthi_1-1689401498009.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and paste the results somewhere&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Add Column Properties(
	Set Property("Notes", "Explore data adventurously"),
	Set Property("Spec Limits", {LSL(11), USL(22), Target(15), Show Limits(1)})
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 15 Jul 2023 06:12:30 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-07-15T06:12:30Z</dc:date>
    <item>
      <title>Spec Limit and MSA Column Property metadata not always visible to Analysis Tools</title>
      <link>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658655#M84789</link>
      <description>&lt;DIV&gt;I am working on a JSL script (JMP 17.0.0) that loads upper and lower Spec Limits into column property data using the Set Property function. The script appears to work correctly and I can see the correct property attribute and the correct limit values when looking at "Column Info" in the data table.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;When I run a Capability Analysis or Gauge R&amp;amp;R analysis (tools that use the Spec Limit values), I notice that the column property values are not being passed to these tool (LSL and USL values are blank).&amp;nbsp; When I manually add "any" new column property via Column Info / ColumnProperties (Ex: add a Note or Unit property), the Spec Limits that were previously loaded now populate into both tools correctly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there something that needs to be done after using the Set Property function in a JSL script to make these properties visible to the analysis tools?&amp;nbsp; It appears that by manually adding a property I'm triggers or completing something that I'm missing in the script.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Load Limits into Metadata property within the dt Table
For(i = 2, i &amp;lt;= ncolsLimits, i++,
	x = Num(dtLimits:(Column(colListLimits[i]))[1]);
	y = Num(dtLimits:(Column(colListLimits[i]))[2]);
	Eval(
		Eval Expr(
			dt:(Column(colListLimits[i])) &amp;lt;&amp;lt; Set Property("Spec Limits", {Expr(y - x), Expr(x), Expr(y)})
		),

	);
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 15 Jul 2023 06:02:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658655#M84789</guid>
      <dc:creator>DSchweitzer</dc:creator>
      <dc:date>2023-07-15T06:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Spec Limit and MSA Column Property metadata not always visible to Analysis Tools</title>
      <link>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658665#M84792</link>
      <description>&lt;P&gt;Not sure why the Capability platform is not using your spec limits, but for the Gauge analysis at least, try using the tolerance limit properties under MSA:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-07-14 145706.png" style="width: 630px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54743i3897192D1DA3AD9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-07-14 145706.png" alt="Screenshot 2023-07-14 145706.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, I suggest using the &lt;A href="https://www.jmp.com/support/help/en/17.1/index.shtml#page/jmp/manage-limits.shtml#" target="_self"&gt;Manage Limits&lt;/A&gt; tool to script spec limits, control limits, etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 22:03:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658665#M84792</guid>
      <dc:creator>Jordan_Hiller</dc:creator>
      <dc:date>2023-07-14T22:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Spec Limit and MSA Column Property metadata not always visible to Analysis Tools</title>
      <link>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658684#M84793</link>
      <description>&lt;P&gt;It could be that it just looks like the values are set correctly, when in reality they are not. Try adding LSL, Target and USL when you are setting the limits.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

x = 51;
y = 100;
i = 1;
colListLimits = {"height", "weight"};

Eval(
	Eval Expr(
		dt:(Column(colListLimits[i])) &amp;lt;&amp;lt; Set Property("Spec Limits", {LSL(Expr(y - x)), Target(Expr(x)), USL(Expr(y))})
	)
);

dt:(Column(colListLimits[i])) &amp;lt;&amp;lt; get property("Spec Limits");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To see what type of syntax to use, set limits manually to some column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1689401476762.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54744i01248DD689DFF00C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1689401476762.png" alt="jthi_0-1689401476762.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Right click on the column header after adding the limits and select Copy Column Properties&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1689401498009.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/54745iDC0BCD90BDC83216/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1689401498009.png" alt="jthi_1-1689401498009.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and paste the results somewhere&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Add Column Properties(
	Set Property("Notes", "Explore data adventurously"),
	Set Property("Spec Limits", {LSL(11), USL(22), Target(15), Show Limits(1)})
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 15 Jul 2023 06:12:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658684#M84793</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-07-15T06:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spec Limit and MSA Column Property metadata not always visible to Analysis Tools</title>
      <link>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658690#M84795</link>
      <description>&lt;P&gt;I noticed the same behavior using the MSA properties. It seems that Gauge Analysis will try to use either Spec Limits or MSA limits. I assume this may be for backward compatibility. It does seem that MSA values take precedence if both exist.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2023 11:21:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658690#M84795</guid>
      <dc:creator>DSchweitzer</dc:creator>
      <dc:date>2023-07-15T11:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spec Limit and MSA Column Property metadata not always visible to Analysis Tools</title>
      <link>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658691#M84796</link>
      <description>&lt;P&gt;I believe that was the case. When I replicated the example you showed exactly into my script it worked. So I was doing something incorrect and the property was not actually being set.&amp;nbsp; Now that it works, I can't make it unwork again, so I was obviously missing something subtle that looked correct. Appreciate the help.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2023 13:05:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Spec-Limit-and-MSA-Column-Property-metadata-not-always-visible/m-p/658691#M84796</guid>
      <dc:creator>DSchweitzer</dc:creator>
      <dc:date>2023-07-15T13:05:45Z</dc:date>
    </item>
  </channel>
</rss>

