<?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: Control Chart Alarm Script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Control-Chart-Alarm-Script/m-p/687101#M87266</link>
    <description>&lt;P&gt;I have no idea how your data looks like or your chart, so it makes this a bit more difficult. If we assume your column with filename is called "filename" you should be able to access first value for the sample with :filename[qc_firstRow]. &lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Coating.jmp");
obj = dt &amp;lt;&amp;lt; Control Chart(
	Sample Size(:Sample),
	KSigma(3),
	Chart Col(:Weight, XBar, R),
	Alarm Script(
		Write("Out of Control for test ", qc_test, " in column ", qc_col, " in sample ", qc_sample, " marker is ", :Markers[qc_firstRow])
	)
);
obj &amp;lt;&amp;lt; Test 1(1);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 13 Oct 2023 18:18:36 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-10-13T18:18:36Z</dc:date>
    <item>
      <title>Control Chart Alarm Script</title>
      <link>https://community.jmp.com/t5/Discussions/Control-Chart-Alarm-Script/m-p/685831#M87181</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to customize the alarm scrip email. JMP is sending the sample number. I would like it to send the information from a different column. I have that column marked as a label. How can I add it to the alarm script? Furthermore, Can I send&amp;nbsp; the control chart as in image to multiple emails.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mail( "test@example.com", "Warning ", Substitute( "Out of Control for test ^QCTEST in column ^QCCOL in sample ^QCSAMPLE.",&lt;BR /&gt;"^QCTEST", char( qc_test ),&lt;BR /&gt;"^QCCOL", qc_col,&lt;BR /&gt;"^QCSAMPLE", char( qc_sample ) ));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 14:22:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Control-Chart-Alarm-Script/m-p/685831#M87181</guid>
      <dc:creator>Ahmed1</dc:creator>
      <dc:date>2023-10-11T14:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Control Chart Alarm Script</title>
      <link>https://community.jmp.com/t5/Discussions/Control-Chart-Alarm-Script/m-p/686045#M87201</link>
      <description>&lt;P&gt;Scripting Guide might be helpful for this &lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/control-chart-scripts.shtml#ww362258" target="_blank" rel="noopener"&gt;Run Alarm Scripts&lt;/A&gt;. With &lt;SPAN class="code"&gt;qc_firstRow&lt;/SPAN&gt;&amp;nbsp; and &lt;SPAN class="code"&gt;qc_lastRow you should be able to access values in other columns.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 18:03:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Control-Chart-Alarm-Script/m-p/686045#M87201</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-11T18:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Control Chart Alarm Script</title>
      <link>https://community.jmp.com/t5/Discussions/Control-Chart-Alarm-Script/m-p/687086#M87264</link>
      <description>&lt;P&gt;This does not pull the value of the filename corresponding to the failed sample.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 17:37:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Control-Chart-Alarm-Script/m-p/687086#M87264</guid>
      <dc:creator>Ahmed1</dc:creator>
      <dc:date>2023-10-13T17:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Control Chart Alarm Script</title>
      <link>https://community.jmp.com/t5/Discussions/Control-Chart-Alarm-Script/m-p/687101#M87266</link>
      <description>&lt;P&gt;I have no idea how your data looks like or your chart, so it makes this a bit more difficult. If we assume your column with filename is called "filename" you should be able to access first value for the sample with :filename[qc_firstRow]. &lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Coating.jmp");
obj = dt &amp;lt;&amp;lt; Control Chart(
	Sample Size(:Sample),
	KSigma(3),
	Chart Col(:Weight, XBar, R),
	Alarm Script(
		Write("Out of Control for test ", qc_test, " in column ", qc_col, " in sample ", qc_sample, " marker is ", :Markers[qc_firstRow])
	)
);
obj &amp;lt;&amp;lt; Test 1(1);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Oct 2023 18:18:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Control-Chart-Alarm-Script/m-p/687101#M87266</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-13T18:18:36Z</dc:date>
    </item>
  </channel>
</rss>

