Hallo zusammen,
Ich versuche, eine Tabelle mit den OOT-Chargen (außerhalb des Trends) und ihren jeweiligen „atypischen“ Werten zu erstellen.
Ich habe dafür die Funktion „Skriptalarm“ verwendet, da ich in der JMP-Community einige Beispiele dafür finden konnte.
Hier ist mein Skript:
z_KSigmaZ =1.4;
// Création de la Carte de controle si N catégories > 5
Names Default To Here( 1 );
If(N Items(Associative Array(:"RNS/NS tordu (srg)")) > 5,
Graph_expr1=Expr(
Graph1 = Control Chart(
Sample Label( :Numéro de lot ),
Sample Size( :Nombre de seringues ),
KSigma(TBD),
Sort by Row Order( 1 ),
Chart Col( :"RNS/NS tordu (srg)"n, P( Test Beyond Limits( 1 ), Limits Precision( 1 ), LCL( -3 ) ) ),
Alarm Script(
Write(
"Out of Control for test ",
qc_test,
" in column ",
qc_col,
" in sample ",
qc_sample,
"\!N"
)),
SendToReport(
Dispatch(
{},
"P of RNS/NS tordu (srg)",
OutlineBox,
{Set Title( "p'-chart, Proportion de défaut" )}
),
Dispatch(
{"P of RNS/NS tordu (srg)"},
"2",
ScaleBox,
{Format( "Fixed Dec", 12, 5 ), Min( -0.00025 ), Max( 0.0025 ),
Inc( 0.00025 ), Minor Ticks( 1 )}
),
Dispatch(
{"P of RNS/NS tordu (srg)"},
"1",
ScaleBox,
{Min( 0.5 ), Inc( 1 ), Minor Ticks( 0 )}
),
Dispatch(
{"P of RNS/NS tordu (srg)"},
"",
AxisBox,
{Add Axis Label( "Taux de défauts (srg)" )}
))));
SubstituteInto(Graph_expr1, Expr(TBD), z_KSigmaZ);
Graph_expr1<< Test 1(1));Am Ende möchte ich die Chargennummer und den atypischen Wert in einer Tabelle erhalten.
I guess I need to call this function Graph_expr1<< Test 1(1)to get the row number, but does not work.
Irgendein Vorschlag, der mir hilft?
Vielen Dank für Ihre Antwort,