Hola,
Tengo varios parámetros de prueba para los que necesito sus resultados GR&R calculados por JMP y almacenados en una variable, usando el script JMP. Específicamente, necesito los valores informados en el análisis GR&R (que se muestra a continuación) como variables en un script. Supongo que hay una función que al llamarla en un script puedo obtener estos resultados (o algunos de ellos) como el valor de retorno de esa función. Intenté guardar la ventana del indicador de variabilidad como secuencia de comandos, pero el contenido no parece útil (se copia a continuación). ¿Alguien puede mostrarme cómo usar scripts para almacenar los resultados de GR&R en una variable e imprimirlos?

Variability Chart(
Y( :"Check DUT Tx Output Power > Limit"n ),
MSA Metadata(
:"Check DUT Tx Output Power > Limit"n(
Lower Tolerance( -10 ),
Upper Tolerance( 8 ),
Tolerance Range( 18 )
)
),
Model( "Crossed" ),
X( :Operator, :UUT ),
Variability Analysis(
:"Check DUT Tx Output Power > Limit"n,
"Gauge R&R Report"n( 1 )
),
SendToReport(
Dispatch(
{"Variability Gauge Analysis for Check DUT Tx Output Power > Limit"},
"Variability Chart for Check DUT Tx Output Power > Limit",
OutlineBox,
{Close( 1 )}
),
Dispatch(
{"Variability Gauge Analysis for Check DUT Tx Output Power > Limit",
"Gauge R&R"},
"Variance Components for Gauge R&R",
OutlineBox,
{Close( 1 )}
)
)
);Aquí hay un ejemplo simple que extrae un vector de datos del informe R&R y luego lo coloca en un nuevo informe.Debería poder pasar de aquí a obtener los datos que necesita y pasarlos a los siguientes pasos en su secuencia de comandos.

names default to here(1);
dt = open("$SAMPLE_DATA/Variability Data/Gasket.jmp");
Variability Chart(invisible,
Y( :Y ),
X( :Operator, :Part ),
Model( "Crossed" ),
Historical Sigma( 0 ),
Analysis Type( "Choose best analysis (EMS REML)" ),
Connect Cell Means( 1 ),
Show Grand Mean( 1 ),
XBar Control Limits( 1 ),
S Control Limits( 1 ),
Mean of Std Dev( 1 ),
Gauge RR( 6, 0, 0, 0 ),
Gauge RR Report( 1 )
);
rp = Current Report();
// Get the Variation data from the Output Display
VariationText = rp["Gauge R&R"][StringColBox(1)] << get;
Variation = rp["Gauge R&R"][NumberColBox(2)] << get;
// Get the Summary and Gauge R&R Statistics
Stats = rp["Gauge R&R"][NumberColBox(5)] << get;
StatsText = rp["Gauge R&R"][StringColBox(5)] << get;
// Build a new report
NW = New Window("my report",
table box(
string col box("Meas Source", variationText),
number col box("Variation", variation)
),
spacer box(0,20),
table box(
number col box("", stats), string col box("", statsText)
)
);
rp << close window;

La lectura y manipulación de objetos de visualización está documentada en la Guía de secuencias de comandos en la Biblioteca de documentación de JMP, disponible en el menú desplegable Ayuda.