<?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: Using JSL Script to Get Spec Limits from Column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-JSL-Script-to-Get-Spec-Limits-from-Column/m-p/880466#M104419</link>
    <description>&lt;P&gt;Here is a simple example of extracting the LSL from a column property and assigning it to a memory variable&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

specs = dt:npn1 &amp;lt;&amp;lt; get property( "spec Limits" );

LSL = specs["LSL"];&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 19 Jun 2025 02:15:26 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2025-06-19T02:15:26Z</dc:date>
    <item>
      <title>Using JSL Script to Get Spec Limits from Column</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JSL-Script-to-Get-Spec-Limits-from-Column/m-p/880440#M104417</link>
      <description>&lt;P&gt;I am using JMP 18.1.0. I am trying to find if there is a way I can get the "Spec Limit" property of a column, and then be able to manipulate the LSL or USL as a number. Below is some example code and the resulting Log messages. The LSL and USL outputs from Get Property don't seem to be in a usable state. The commented out line is what I would like to do, math functions or comparison with the LSL/USL to any other number.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//Example Code
dt = Current Data Table();
y = :"Test Column"n &amp;lt;&amp;lt; Get Property("Spec Limits");
Show(:"Test Column"n[1]);
Show(y);
Show(y[2]);
//Show(:"Test Column"n[1] - y[2])&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Log Output Messages:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;:Test Column[1] = 0.5;&lt;/LI&gt;
&lt;LI&gt;y = {LSL(0), USL(1), Show Limits(1)};&lt;/LI&gt;
&lt;LI&gt;y[2] = USL(1);&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Is there any way to get the LSL and USL from the Spec Limits property as a number?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 21:39:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JSL-Script-to-Get-Spec-Limits-from-Column/m-p/880440#M104417</guid>
      <dc:creator>PumpkinRocket</dc:creator>
      <dc:date>2025-06-18T21:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using JSL Script to Get Spec Limits from Column</title>
      <link>https://community.jmp.com/t5/Discussions/Using-JSL-Script-to-Get-Spec-Limits-from-Column/m-p/880466#M104419</link>
      <description>&lt;P&gt;Here is a simple example of extracting the LSL from a column property and assigning it to a memory variable&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

specs = dt:npn1 &amp;lt;&amp;lt; get property( "spec Limits" );

LSL = specs["LSL"];&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Jun 2025 02:15:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-JSL-Script-to-Get-Spec-Limits-from-Column/m-p/880466#M104419</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-06-19T02:15:26Z</dc:date>
    </item>
  </channel>
</rss>

