cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
%3CLINGO-SUB%20id%3D%22lingo-sub-796730%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAlarmskript%20schreibt%20nicht%20in%20eine%20Datei.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-796730%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHallo%2C%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EIch%20habe%20Probleme%20mit%20einem%20Alarmskript%20wie%20dem%20folgenden.%20Dieses%20CuSum-Diagramm%20generiert%207%20Alarme%20und%20sollte%20daher%20die%20Protokolldatei%20generieren%2C%20tut%20dies%20jedoch%20nicht%20oder%20nicht%20jedes%20Mal%2C%20wenn%20das%20Skript%20ausgef%C3%BChrt%20wird%2C%20was%20seltsam%20ist.%20Irgendwelche%20Ideen%2C%20was%20los%20ist%3F%20Ich%20verwende%20Version%2017.2%20Pro.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3ENamen%20werden%20standardm%C3%A4%C3%9Fig%20hier%20verwendet%20(1)%3B%3CBR%20%2F%3E%20dt%20%3D%20%C3%96ffnen(%20%22%24SAMPLE_DATA%2FQualit%C3%A4tskontrolle%2FOil1%20Cusum.jmp%22%20)%3B%3CBR%20%2F%3E%20obj%20%3D%20dt%20%26lt%3B%26lt%3B%20CUSUM-Kontrollkarte(%3CBR%20%2F%3E%20Y(%20%3AGewicht%20)%2C%3CBR%20%2F%3E%20H(%202%20)%2C%3CBR%20%2F%3E%20Unterseite(%201%20)%2C%3CBR%20%2F%3E%20Ziel(%208.1%20)%2C%3CBR%20%2F%3E%20K(%200%2C025%20)%2C%3CBR%20%2F%3E%20Sigma%20(0%2C02)%2C%3CBR%20%2F%3E%20Vorsprung%20(0%2C05)%2C%3CBR%20%2F%3E%20Alarmskript(%3CBR%20%2F%3E%20Inhalt%20%3D%20Ersetzen(%20%22%5EQCTEST%20in%20Spalte%20%5EQCCOL%20in%20Probe%20%5EQCSAMPLE.%22%2C%3CBR%20%2F%3E%20%22%5EQCTEST%22%2C%20W%C3%A4hlen%20Sie(%20qc_test%2C%3CBR%20%2F%3E%20%E2%80%9EEin%20Punkt%20au%C3%9Ferhalb%20der%20Kontrollgrenzen%E2%80%9C)%3CBR%20%2F%3E%20%22%5EQCCOL%22%2C%20qc_col%2C%3CBR%20%2F%3E%20%22%5EQCSAMPLE%22%2C%20char(%20qc_sample%20))%3B%3CBR%20%2F%3E%20Dateiname%20%3D%20Dateipfad%20konvertieren(%22%24TEMP%2Ftest%20log.txt%22%2C%20absolut)%3B%3CBR%20%2F%3E%20if%20(Datei%20existiert%20(Dateiname)%2C%20Textdatei%20speichern%20(Dateiname%2C%20Inhalt%2C%20Modus(%22Anh%C3%A4ngen%22))%2C%20Textdatei%20speichern%20(Dateiname%2C%20Inhalt))%3B%3CBR%20%2F%3E%20)%2C%3CBR%20%2F%3E%20)%3B%3CBR%20%2F%3E%20%2F%2F%20Test%201%20einschalten%3CBR%20%2F%3E%20obj%20%26lt%3B%26lt%3B%20Test%201(1)%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-796730%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomatisierung%20und%20Skripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-796741%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Alarmskript%20schreibt%20nicht%20in%20eine%20Datei.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-796741%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIch%20bin%20kein%20Experte%20f%C3%BCr%20Kontrollkarten%2C%20aber%20ich%20konnte%20das%20Schreiben%20der%20Datei%20ausl%C3%B6sen%2C%20indem%20ich%20hinzuf%C3%BCgte%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ETest%20beyond%20limits(%201%20)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Ezur%20CUSUM%20Control%20Chart%20Spezifikation%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0Adt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FQuality%20Control%2FOil1%20Cusum.jmp%22%20)%3B%0Aobj%20%3D%20dt%20%26lt%3B%26lt%3B%20CUSUM%20Control%20Chart(%0A%09Y(%20%3Aweight%20)%2C%0A%09H(%202%20)%2C%0A%09Lower%20Side(%201%20)%2C%0A%09Target(%208.1%20)%2C%0A%09K(%200.025%20)%2C%0A%09Sigma(%200.02%20)%2C%0A%09Head%20Start(%200.05%20)%2C%0A%09Test%20beyond%20limits(%201%20)%2C%0A%09Alarm%20Script(%0A%09%09contents%20%3D%20Substitute(%20%22%5EQCTEST%20in%20column%20%5EQCCOL%20in%20sample%20%5EQCSAMPLE.%22%2C%0A%09%09%09%22%5EQCTEST%22%2C%20Choose(%20qc_test%2C%20%22One%20point%20beyond%20the%20control%20limits%22%20)%2C%0A%09%09%09%22%5EQCCOL%22%2C%20qc_col%2C%0A%09%09%09%22%5EQCSAMPLE%22%2C%20Char(%20qc_sample%20)%0A%09%09)%3B%0A%09%09filename%20%3D%20Convert%20File%20Path(%20%22%24TEMP%2Ftest%20log.txt%22%2C%20absolute%20)%3B%0A%09%09If(%20File%20Exists(%20filename%20)%2C%0A%09%09%09Save%20Text%20File(%20filename%2C%20contents%2C%20Mode(%20%22Append%22%20)%20)%2C%0A%09%09%09Save%20Text%20File(%20filename%2C%20contents%20)%0A%09%09)%3B%0A%09)%2C%0A%0A)%3B%0A%2F%2F%20Turn%20on%20Test%201%0Aobj%20%26lt%3B%26lt%3B%20Test%201(%201%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22txnelson_0-1725791859342.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1725791859342.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1725791859342.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1725791859342.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1725791859342.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1725791859342.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68026i06E413C2AAEE95F6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22txnelson_0-1725791859342.png%22%20alt%3D%22txnelson_0-1725791859342.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EPS%3A%20Bitte%20verwenden%20Sie%20das%20JSL-Symbol%20oben%20auf%20der%20Vorschauseite%2C%20wenn%20Sie%20Ihren%20JMP-Code%20hinzuf%C3%BCgen.%20Es%20bietet%20eine%20Anzeige%20Ihres%20JSL%2C%20die%20viel%20einfacher%20zu%20lesen%20und%20zu%20verstehen%20ist.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-796843%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Alarmskript%20schreibt%20nicht%20in%20eine%20Datei.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-796843%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHallo%20Jim%2C%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EDanke%20daf%C3%BCr.%20Aber%20es%20ist%20nicht%20ganz%20das%2C%20was%20ich%20gesucht%20habe.%20In%20der%20Kontrollkarte%20unten%20gibt%20es%207%20Punkte%2C%20an%20denen%20eine%20Verschiebung%20erkannt%20wird%2C%20wie%20durch%20die%20vertikalen%20Linien%20unten%20angezeigt.%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202024-09-08%20162150.png%22%20style%3D%22width%3A%20589px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202024-09-08%20162150.png%22%20style%3D%22width%3A%20589px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202024-09-08%20162150.png%22%20style%3D%22width%3A%20589px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202024-09-08%20162150.png%22%20style%3D%22width%3A%20589px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202024-09-08%20162150.png%22%20style%3D%22width%3A%20589px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68038iE5326320E745FD83%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%202024-09-08%20162150.png%22%20alt%3D%22Screenshot%202024-09-08%20162150.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIch%20habe%20dann%20erwartet%2C%20dass%20mein%20unten%20stehender%20Code%20die%20ReportOut-Datentabelle%20mit%207%20Datenzeilen%20f%C3%BCllt%2C%20wobei%20das%20Alarmskript%20einmal%20f%C3%BCr%20jede%20erkannte%20Schicht%20ausgef%C3%BChrt%20wird.%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0A%0AReportOutDataTable%20%3D%20New%20Table(%20%22ReportOut%22%2C%0A%2F%2FAdd%20Rows(1)%2C%0ANew%20Column(%20%22Name%22%2C%0ACharacter%2C%0A%22Nominal%22%2C%0A)%0A)%3B%0Adt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FQuality%20Control%2FOil1%20Cusum.jmp%22%20)%3B%0AReportOUtDataTable%20%3D%20Data%20Table(%22ReportOut%22)%3B%0Aobj%20%3D%20dt%20%26lt%3B%26lt%3B%20CUSUM%20Control%20Chart(%0A%09Y(%20%3Aweight%20)%2C%0A%09H(%202%20)%2C%0A%09Lower%20Side(%201%20)%2C%0A%09Target(%208.1%20)%2C%0A%09K(%200.025%20)%2C%0A%09Sigma(%200.02%20)%2C%0A%09Head%20Start(%200.05%20)%2C%0A%09%2F%2FTest%20beyond%20limits(%201%20)%2C%0AAlarm%20Script(%0A%09ReportOutDataTable%26lt%3B%3CADD%20rows%3D%22%22%3E%3C%2FADD%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CCODE%20class%3D%22%20language-jsl%22%3EHowever%20looks%20like%20the%20alarm%20script%20wont%20run%20at%20all%2C%20unless%20Test%20beyond%20limits%20(1)%20is%20used.%20This%20then%20results%20in%20all%20points%20out%20of%20control%20in%20the%20chart%20being%20circled%20(71%20in%20my%20example)%20%2C%20and%20therefore%2071%20rows%20of%20data%20being%20added%20to%20my%20ReportOut%20Data%20table.%3C%2FCODE%3E%3C%2FP%3E%3CP%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%20%3C%2FCODE%3E%3C%2FP%3E%3CP%3E%3CCODE%20class%3D%22%20language-jsl%22%3EUltimately%2C%20I%20want%20%20the%20alarm%20script%20to%20run%20only%20when%20a%20shift%20is%20detected%2C%20and%20then%20output%20information%20on%20the%20shift%20to%20a%20ReportOut%20Data%20table%2C%20with%20information%20like%20the%20Sample%20Number%20on%20which%20the%20shift%20was%20detected.%20Maybe%20I'm%20misunderstanding%20how%20the%20Alarm%20script%20is%20indented%20to%20function%3F%3C%2FCODE%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-796905%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Alarmskript%20schreibt%20nicht%20in%20eine%20Datei.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-796905%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EM%C3%B6glicherweise%20wird%20die%20Schicht%20%E2%80%9ETest%E2%80%9C%20nicht%20als%20Alarm%20betrachtet%20und%20l%C3%B6st%20daher%20das%20Alarmskript%20nicht%20aus.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-797193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Alarmskript%20schreibt%20nicht%20in%20eine%20Datei.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-797193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Em%C3%B6glicherweise%2C%20aber%20es%20w%C3%BCrde%20seltsam%20erscheinen%2C%20da%20der%20Zweck%20eines%20CuSum-Diagramms%20darin%20besteht%2C%20eine%20Datenverschiebung%20zu%20erkennen%2C%20und%20dies%20wird%20in%20Jmp%20wie%20oben%20durch%20die%20vertikalen%20violetten%20Linien%20angezeigt.%20Bei%20einer%20Datenverschiebung%20m%C3%B6chte%20ein%20Benutzer%2C%20dass%20das%20Alarmskript%20ausgef%C3%BChrt%20wird.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-797236%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Alarmskript%20schreibt%20nicht%20in%20eine%20Datei.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-797236%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDas%20k%C3%B6nnte%20sein%2C%20aber%20derzeit%20scheint%20es%2C%20dass%20es%20nur%20bei%20Alarmen%20ausgel%C3%B6st%20wird%2C%20nicht%20bei%20Schichtwechsel.%20Vielleicht%20erstellen%20Sie%20ein%20Wunschlistenelement%20in%20der%20Hoffnung%2C%20Unterst%C3%BCtzung%20f%C3%BCr%20%E2%80%9ESchichtwechselskript%E2%80%9C%20oder%20etwas%20%C3%84hnliches%20zu%20erhalten%3F%20Derzeit%20k%C3%B6nnen%20Sie%20diese%20in%20eine%20separate%20Tabelle%20einf%C3%BCgen%20und%20basierend%20auf%20der%20Tabelle%20Ihre%20eigenen%20Aktionen%20ausl%C3%B6sen%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%0Adt%20%3D%20Open(%22%24SAMPLE_DATA%2FQuality%20Control%2FOil1%20Cusum.jmp%22)%3B%0Aobj%20%3D%20dt%20%26lt%3B%26lt%3B%20CUSUM%20Control%20Chart(%0A%09Y(%3Aweight)%2C%0A%09H(2)%2C%0A%09Lower%20Side(1)%2C%0A%09Target(8.1)%2C%0A%09K(0.025)%2C%0A%09Sigma(0.05)%2C%0A%09Head%20Start(0.05)%0A)%3B%0Adt_summary%20%3D%20obj%20%26lt%3B%26lt%3B%20Save%20Summaries%3B%0A%0Ar%20%3D%20dt_summary%20%26lt%3B%26lt%3B%20Get%20Rows%20Where(Is%20Missing(%3AShift%20Start))%3B%0Adt_summary%20%26lt%3B%26lt%3B%20Delete%20Rows(r)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
BrianK
Level I

Alarm Script not writing to a file.

Hi there,

 

I'm struggling with an alarm script, like in the below. This CuSum chart is generating 7 alarms, and therefore should be generating the log file, however it is not, or not every time the script is run, which is strange. Any ideas on what's going on? I'm using version 17.2 pro. 

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Quality Control/Oil1 Cusum.jmp" );
obj = dt << CUSUM Control Chart(
Y( :weight ),
H( 2 ),
Lower Side( 1 ),
Target( 8.1 ),
K( 0.025 ),
Sigma( 0.02 ),
Head Start( 0.05 ),
Alarm Script(
contents = Substitute( "^QCTEST in column ^QCCOL in sample ^QCSAMPLE.",
"^QCTEST", Choose( qc_test,
"One point beyond the control limits" ),
"^QCCOL", qc_col,
"^QCSAMPLE", char( qc_sample ));
filename = Convert File Path("$TEMP/test log.txt", absolute);
if (File Exists( filename ), Save Text File( filename, contents, Mode("Append") ), Save Text File( filename, contents) );
),
);
// Turn on Test 1
obj << Test 1(1);

5 REPLIES 5
txnelson
Super User

Re: Alarm Script not writing to a file.

I am not a control chart expert, however, I was able to trigger the writing of the file by adding 

Test beyond limits( 1 )

to the CUSUM Control Chart specification

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Quality Control/Oil1 Cusum.jmp" );
obj = dt << CUSUM Control Chart(
	Y( :weight ),
	H( 2 ),
	Lower Side( 1 ),
	Target( 8.1 ),
	K( 0.025 ),
	Sigma( 0.02 ),
	Head Start( 0.05 ),
	Test beyond limits( 1 ),
	Alarm Script(
		contents = Substitute( "^QCTEST in column ^QCCOL in sample ^QCSAMPLE.",
			"^QCTEST", Choose( qc_test, "One point beyond the control limits" ),
			"^QCCOL", qc_col,
			"^QCSAMPLE", Char( qc_sample )
		);
		filename = Convert File Path( "$TEMP/test log.txt", absolute );
		If( File Exists( filename ),
			Save Text File( filename, contents, Mode( "Append" ) ),
			Save Text File( filename, contents )
		);
	),

);
// Turn on Test 1
obj << Test 1( 1 );

txnelson_0-1725791859342.png

P.S.  Please use the JSL icon at the top of the preview page when adding your JMP code.  It provides a display of your JSL that is much easier to read and understand.

Jim
BrianK
Level I

Re: Alarm Script not writing to a file.

Hi Jim,

 

Thanks for that.  But its not quite what I was looking for. In the control chart as per below, there are 7 points on which a shift is detected, as indicated by the vertical lines below. Screenshot 2024-09-08 162150.png

I was then expecting my code below to populate the ReportOut Datatable, with 7 rows of data, with the alarm script running once for each shift detected. 

Names Default To Here( 1 );

ReportOutDataTable = New Table( "ReportOut",
//Add Rows(1),
New Column( "Name",
Character,
"Nominal",
)
);
dt = Open( "$SAMPLE_DATA/Quality Control/Oil1 Cusum.jmp" );
ReportOUtDataTable = Data Table("ReportOut");
obj = dt << CUSUM Control Chart(
	Y( :weight ),
	H( 2 ),
	Lower Side( 1 ),
	Target( 8.1 ),
	K( 0.025 ),
	Sigma( 0.02 ),
	Head Start( 0.05 ),
	//Test beyond limits( 1 ),
Alarm Script(
	ReportOutDataTable<<Add Rows({:Name="test1"}); 					
	),
);

However looks like the alarm script wont run at all, unless Test beyond limits (1) is used. This then results in all points out of control in the chart being circled (71 in my example) , and therefore 71 rows of data being added to my ReportOut Data table.

 

Ultimately, I want  the alarm script to run only when a shift is detected, and then output information on the shift to a ReportOut Data table, with information like the Sample Number on which the shift was detected. Maybe I'm misunderstanding how the Alarm script is indented to function?

jthi
Super User

Re: Alarm Script not writing to a file.

Maybe shift "test" isn't considered an alarm so it won't trigger the alarm script.

-Jarmo
BrianK
Level I

Re: Alarm Script not writing to a file.

possibly, but would seem strange, given the purpose of a CuSum graph is to detect a shift in data, and this is indicated in Jmp with the vertical purple lines as per above.  Its on a shift in data a user would want the alarm script to run.

jthi
Super User

Re: Alarm Script not writing to a file.

Might be so but currently it seems that it only triggers on alarms, not on shift change. Maybe create a wish list item in hopes to get a support for "shift change script" or something similar? Currently you can get those into a separate table and trigger your own actions based on the table

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Quality Control/Oil1 Cusum.jmp");
obj = dt << CUSUM Control Chart(
	Y(:weight),
	H(2),
	Lower Side(1),
	Target(8.1),
	K(0.025),
	Sigma(0.05),
	Head Start(0.05)
);
dt_summary = obj << Save Summaries;

r = dt_summary << Get Rows Where(Is Missing(:Shift Start));
dt_summary << Delete Rows(r)
-Jarmo