Salut les gars,
J'ai ce script qui fonctionne à 100% lorsque je l'exécute manuellement.
Lorsque je l'exécute depuis la barre d'outils (automatiquement), il n'exécute pas la dernière section.
Avez-vous une idée de pourquoi cela se produit ?
J'ai ajouté un commentaire dans le script dans le point qui ne fonctionne plus :
//À PARTIR D'ICI, LE SCRIPT NE FONCTIONNE PAS EN MODE BARRE D'OUTILS
//Script for GRR Anlaysis for Qual Data
names = {};
//prueba={};
RepeatabilityData = {};
ReproducibilityData = {};
GaugeRRData = {};
ParttoPartData = {};
NDCData = {};
Datos_table = Current Data Table();
For( i = 1, i <= N Col(), i++,
Insert Into( names, Column Name( i ) )
);
dlg1 = Dialog(
Title( "GR&R" ),
"Select Tests",
vlist( selectiontests = List Box( names ) ),
"Select Channel Column",
vlist( selectionchannel = List Box( names ) ),
"Select Category (Pre/Post) Column",
vlist( selectioncategory = List Box( names ) ),
"select Devices Number Column",
vlist( selectionSN = List Box( names ) ),
synch = Check Box( "Generate Journal", 0 ),
hlist( button( "OK" ), button( "Cancel" ) )
)
;
if (dlg1["Button"]==1,
column(dlg1["selectionchannel"])<<SET modeling="" type="">0.4,
ListDelta[l]<<SET property=""></SET></SET>