<?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: How do I select specific rows? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389152#M63926</link>
    <description>&lt;P&gt;It looks like you might be using a custom function here. There is no built-in JSL function&amp;nbsp;&lt;SPAN&gt;get_generic(), so we're not going to be able to help with why it's not doing what you expect.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Was the script written by you or are you using a script that someone else wrote?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 May 2021 16:01:24 GMT</pubDate>
    <dc:creator>Jeff_Perkinson</dc:creator>
    <dc:date>2021-05-28T16:01:24Z</dc:date>
    <item>
      <title>How do I select specific rows?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389145#M63925</link>
      <description>&lt;P&gt;I am getting more than the selected data from this line:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;get_generic(RawDataTable,"nS","Voltage","tHIGH",,400) ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am also getting all of this data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;get_generic(RawDataTable,"nS","Voltage","tHIGH_hs",,60) ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My problem is that tHIGH is pulling every row with tHIGH, including the tHIGH_hs.&lt;/P&gt;
&lt;P&gt;I need to know if I can reject the tHIGH_hs in the first line of code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They are different speeds of operation for the test, and I need to produce separate charts for performance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I pull the tHIGH_hs data it filters only high speed. I just need to make a chart for low speed without including the high spped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:30:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389145#M63925</guid>
      <dc:creator>micromoccia</dc:creator>
      <dc:date>2023-06-10T23:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select specific rows?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389152#M63926</link>
      <description>&lt;P&gt;It looks like you might be using a custom function here. There is no built-in JSL function&amp;nbsp;&lt;SPAN&gt;get_generic(), so we're not going to be able to help with why it's not doing what you expect.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Was the script written by you or are you using a script that someone else wrote?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 16:01:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389152#M63926</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2021-05-28T16:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select specific rows?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389280#M63937</link>
      <description>&lt;P&gt;I inherited the script at a new job. The sctirpt pulls any data that has tHIGH in the name. which is unfortunate when I don't want the other tHIGH_hs data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 18:20:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389280#M63937</guid>
      <dc:creator>micromoccia</dc:creator>
      <dc:date>2021-05-28T18:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select specific rows?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389284#M63939</link>
      <description>&lt;P&gt;In that case we'll need to know more about the function definition for &lt;SPAN&gt;get_generic() to see how it's using the arguments internally.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are you familiar with JSL? Or is this your first time looking at it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 18:28:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389284#M63939</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2021-05-28T18:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select specific rows?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389287#M63940</link>
      <description>&lt;P&gt;I am becoming familiar. lol&lt;/P&gt;
&lt;P&gt;Here is the block of code. It is used to create a pdf that charts the data in time vs voltage. tHIGH is normal operating speed and tHIGH_hs is the high speed operating data. I can isolate the high speed data by changing the code to "tHIGH_hs", and did in another section of the script.&lt;/P&gt;
&lt;P&gt;I'm trying to get just the normal operating speed data for this section.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// set up for AC report
win1 = New Window( "Char Report_NS" );
// real spec is 1000KHz
// data table, scale of desired units, by, name, lsl, usl
get_generic( RawDataTable, "V", "Frequency", "fSCL", , 1.7 );
// tHigh = 260nS, tLow = 500nS
// rewrite -- maybe a generic for each??
//get_thighlow(RawDataTable,"nS","tHIGH",260,"tLOW",500) ; // data table, scale of desired units,
// name1, USL1, name2, USL2
get_generic( RawDataTable, "nS", "Voltage", "tHIGH", , 400 );
get_generic( RawDataTable, "nS", "Voltage", "tLOW", , 400 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I left in all of the previously commented out code.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 19:33:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389287#M63940</guid>
      <dc:creator>micromoccia</dc:creator>
      <dc:date>2021-05-28T19:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select specific rows?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389292#M63942</link>
      <description>&lt;P&gt;Unfortunately, that still doesn't help understand what the custom function get_generic() is doing and therefore why it's behaving the way it is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you look above in the script and see a function() definition for get_generic?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It'll look something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;get_generic = function(
	//jsl statements
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 May 2021 19:39:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389292#M63942</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2021-05-28T19:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select specific rows?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389293#M63943</link>
      <description>&lt;P&gt;Thanks for the input, I'll see if I can find it. This script is 2800 plus lines of code. :(&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 20:14:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389293#M63943</guid>
      <dc:creator>micromoccia</dc:creator>
      <dc:date>2021-05-28T20:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select specific rows?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389639#M63978</link>
      <description>&lt;P&gt;THANK YOU!!! I found the function by CRTL-F and here it is:&lt;/P&gt;&lt;P&gt;get_generic = function ( {dt, du, byName, name1, lsl=., usl=.,exact=0 }&lt;/P&gt;&lt;P&gt;I changed the zero to a 1 and I have it filtering what I need.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for you help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Al Moccia&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 14:37:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389639#M63978</guid>
      <dc:creator>micromoccia</dc:creator>
      <dc:date>2021-06-01T14:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I select specific rows?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389647#M63980</link>
      <description>&lt;P&gt;I'm glad you found it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't have to change the function definition. The items in the {} are the arguments for the function and their default values, if unspecified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, if changing&amp;nbsp;&lt;SPAN&gt;exact=0 to exact=1 worked for you, you could change it back (so other calls to the function continue to work as they have), and then when you call get_generic() just make sure you specify 1 as the last argument:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;get_generic( RawDataTable, "nS", "Voltage", "tHIGH", , 400, 1 );&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 14:48:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-select-specific-rows/m-p/389647#M63980</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2021-06-01T14:48:39Z</dc:date>
    </item>
  </channel>
</rss>

