<?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: Cannot set the specification limit attribute (USL/LSL) for each column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Cannot-set-the-specification-limit-attribute-USL-LSL-for-each/m-p/738256#M91954</link>
    <description>&lt;P&gt;You will have to evaluate the values to columns, below is an example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");

lowlimit = 50;
highlimit = 100;

Eval(EvalExpr(
	Column(dt, "height") &amp;lt;&amp;lt; Set Property(
		"Spec Limits",
		{LSL(Expr(lowlimit)), USL(Expr(highlimit)), Show Limits(1)}
	);	
));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Insert one expression into another using Eval Insert, Eval Expr, Parse, and Substitute" uid="48998" url="https://community.jmp.com/t5/JSL-Cookbook-Archived/Insert-one-expression-into-another-using-Eval-Insert-Eval-Expr/m-p/48998#U48998" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Mar 2024 16:00:27 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-03-23T16:00:27Z</dc:date>
    <item>
      <title>Cannot set the specification limit attribute (USL/LSL) for each column</title>
      <link>https://community.jmp.com/t5/Discussions/Cannot-set-the-specification-limit-attribute-USL-LSL-for-each/m-p/738232#M91951</link>
      <description>&lt;P&gt;dt = Current Data Table();&lt;/P&gt;&lt;P&gt;dt &amp;lt;&amp;lt; Begin Data Update();&lt;BR /&gt;For( i = 9, i &amp;lt;= N Cols( dt ) - 1, i++,&lt;BR /&gt;col = Column( dt, i );&lt;BR /&gt;&lt;BR /&gt;// 获取第二行和第三行的数据作为规格限&lt;BR /&gt;lowerLimit = col[2];&lt;BR /&gt;upperLimit = col[3];&lt;BR /&gt;show (lowerLimit);&lt;BR /&gt;show(upperLimit); //&lt;STRONG&gt; checked the log, the result is ok.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;// 设置规格限属性&lt;BR /&gt;col &amp;lt;&amp;lt; Set Property( "Spec Limits", {LSL(lowerLimit), USL(upperLimit), Show Limits( 1 )} );&amp;nbsp;&lt;BR /&gt;);&lt;BR /&gt;dt &amp;lt;&amp;lt; End Data Update();&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ryan001_0-1711204403209.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62552i6E45F17D434FC186/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ryan001_0-1711204403209.png" alt="Ryan001_0-1711204403209.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ryan001_1-1711204413014.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62553i59313F5BB3BFA092/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ryan001_1-1711204413014.png" alt="Ryan001_1-1711204413014.png" /&gt;&lt;/span&gt;&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-inline" image-alt="Ryan001_2-1711204423440.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62554i1A4E9FC948555118/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ryan001_2-1711204423440.png" alt="Ryan001_2-1711204423440.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ryan001_3-1711204429136.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62555i1756A972468B852B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ryan001_3-1711204429136.png" alt="Ryan001_3-1711204429136.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 14:34:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Cannot-set-the-specification-limit-attribute-USL-LSL-for-each/m-p/738232#M91951</guid>
      <dc:creator>Ryan001</dc:creator>
      <dc:date>2024-03-23T14:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set the specification limit attribute (USL/LSL) for each column</title>
      <link>https://community.jmp.com/t5/Discussions/Cannot-set-the-specification-limit-attribute-USL-LSL-for-each/m-p/738256#M91954</link>
      <description>&lt;P&gt;You will have to evaluate the values to columns, below is an example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Open("$SAMPLE_DATA/Big Class.jmp");

lowlimit = 50;
highlimit = 100;

Eval(EvalExpr(
	Column(dt, "height") &amp;lt;&amp;lt; Set Property(
		"Spec Limits",
		{LSL(Expr(lowlimit)), USL(Expr(highlimit)), Show Limits(1)}
	);	
));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Insert one expression into another using Eval Insert, Eval Expr, Parse, and Substitute" uid="48998" url="https://community.jmp.com/t5/JSL-Cookbook-Archived/Insert-one-expression-into-another-using-Eval-Insert-Eval-Expr/m-p/48998#U48998" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 16:00:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Cannot-set-the-specification-limit-attribute-USL-LSL-for-each/m-p/738256#M91954</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-23T16:00:27Z</dc:date>
    </item>
  </channel>
</rss>

