Ciao a tutti,
Sto cercando di automatizzare l'analisi DOE e ho diversi output, sto usando il seguente codice:
dt = Open( "5b.CD_Base_2Default23_UPM_Alpha0p01.jmp" );
// Option: Run script from a designed DOE
// Run script embedded in main table
ModelAna = dt << Run script( "Model" );
ModelAna << Y( :TMS, :TMH, :VMH, :VML );
//Get a reference to the report window containing the stepwise object
step_rprt = ModelAna << Report;
step_rprt[ListBoxBox( 2 )] << Set selected( 1 );//Remove Y
step_rprt[Button Box( 8 )] << click;//Remove Y
ModelAna << Personality( Stepwise );
ModelAna << Run(
Stopping Rule( "P-value Threshold" ),
Direction( "Forward" ),
Rules( "Combine" ),
Prob to Enter( 0.01 ),
Prob to Leave( 0 )
);
vmh_rprt = Current Report();
rprt = vmh_rprt << Report();
vmh_rprt[Button Box( 7 )] << click; //Go
// It is working up to this point, next 2 lines was a try to click on third output, but didnt work
t = Outline Box[9];
t[Button Box( 25 )] << click; //Go
Funziona solo per il primo output, quando faccio clic su Vai, ma non per il successivo, hai un'idea di come passare a un altro output e fai clic anche su Vai, Come posso spostarmi tra gli output? (Allego una foto con le uscite che voglio fare clic su Vai e così via)