<?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 18 JSL cannot add spec to column property in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-18-JSL-cannot-add-spec-to-column-property/m-p/777345#M95869</link>
    <description>&lt;P&gt;Very difficult to say without seeing the whole code or any of the data. Are LSL and USL numbers? This example works in JMP18.0.0&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

LSL = 1;
USL = 3;
TARGET = 2;
Show_Limit = 1;
UNITS = "m";

dt = Open("$SAMPLE_DATA/Big Class.jmp");

collist = {:height, :weight};
i = 1;

Eval(
	Eval Expr(
		dt:(collist[i])
			&amp;lt;&amp;lt; Set Property("Spec Limits", {LSL(Expr(LSL)), USL(Expr(USL)), Target(Expr(TARGET)), Show Limits(Expr(Show_Limit))})
			&amp;lt;&amp;lt; Set Property("Units",Expr(UNITS))
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Jul 2024 04:40:19 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-07-30T04:40:19Z</dc:date>
    <item>
      <title>JMP 18 JSL cannot add spec to column property</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-18-JSL-cannot-add-spec-to-column-property/m-p/777335#M95868</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My jsl to add spec to column properties failed on the new JMP 18. I've been using it successfully on JMP 17.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval(
	Eval Expr(
		dt:(collist[i])
			&amp;lt;&amp;lt; Set Property("Spec Limits", {LSL(Expr(LSL)), USL(Expr(USL)), Target(Expr(TARGET)), Show Limits(Expr(Show_Limit))})
			&amp;lt;&amp;lt; Set Property("Units",Expr(UNITS))
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The "Spec Limits" property shown up in the column but there is no value (USL, LSL, Target) inside.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 03:19:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-18-JSL-cannot-add-spec-to-column-property/m-p/777335#M95868</guid>
      <dc:creator>dntt</dc:creator>
      <dc:date>2024-07-30T03:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 18 JSL cannot add spec to column property</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-18-JSL-cannot-add-spec-to-column-property/m-p/777345#M95869</link>
      <description>&lt;P&gt;Very difficult to say without seeing the whole code or any of the data. Are LSL and USL numbers? This example works in JMP18.0.0&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

LSL = 1;
USL = 3;
TARGET = 2;
Show_Limit = 1;
UNITS = "m";

dt = Open("$SAMPLE_DATA/Big Class.jmp");

collist = {:height, :weight};
i = 1;

Eval(
	Eval Expr(
		dt:(collist[i])
			&amp;lt;&amp;lt; Set Property("Spec Limits", {LSL(Expr(LSL)), USL(Expr(USL)), Target(Expr(TARGET)), Show Limits(Expr(Show_Limit))})
			&amp;lt;&amp;lt; Set Property("Units",Expr(UNITS))
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jul 2024 04:40:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-18-JSL-cannot-add-spec-to-column-property/m-p/777345#M95869</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-07-30T04:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 18 JSL cannot add spec to column property</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-18-JSL-cannot-add-spec-to-column-property/m-p/777347#M95870</link>
      <description>&lt;P&gt;I ran your JSL without issue using JMP 18.1 on Windows 11.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1722314454829.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66592i3D80919B62CCD1F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1722314454829.png" alt="txnelson_0-1722314454829.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = 
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );
LSL = 44;
target = 55;
USL = 66;
show_limit = 1;
Units = "LBS";
colList = dt &amp;lt;&amp;lt; get column names(string,continuous);
i=1;

Eval(
	Eval Expr(
		dt:(collist[i]) &amp;lt;&amp;lt; Set Property(
			"Spec Limits",
			{LSL( Expr( LSL ) ), USL( Expr( USL ) ), Target( Expr( TARGET ) ), Show Limits( Expr( Show_Limit ) )}
		) &amp;lt;&amp;lt; Set Property( "Units", Expr( UNITS ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Are there any messages in the JMP Log?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 04:42:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-18-JSL-cannot-add-spec-to-column-property/m-p/777347#M95870</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-07-30T04:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: JMP 18 JSL cannot add spec to column property</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-18-JSL-cannot-add-spec-to-column-property/m-p/777362#M95873</link>
      <description>&lt;P&gt;I figured out my mistake. There is some character inside the USL/LSL/Target columns of the spec file that messed up the datatype. I made sure&amp;nbsp;USL/LSL/Target columns to be numeric/continuous and it works fine now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks all for checking.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 05:43:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-18-JSL-cannot-add-spec-to-column-property/m-p/777362#M95873</guid>
      <dc:creator>dntt</dc:creator>
      <dc:date>2024-07-30T05:43:38Z</dc:date>
    </item>
  </channel>
</rss>

