Bonjour,
Je voudrais donner à l'utilisateur la possibilité de choisir un nom de balise, qui affichera ensuite un tracé de série chronologique de diverses variables en fonction de ce nom de balise.
J'ai créé ce script pour créer une liste des noms de TAG, puis j'utiliserai cette sélection (onchange) pour remplir les variables dans un script de création de graphes.
Cependant, cela crée une zone de liste vide. Quelqu'un peut-il identifier pourquoi?
Merci
Names Default To Here( 1 );
dt = Current Data Table();
ET_LIST = {};
ET_TAG_List = {};
//removes empty column from the column list
For( i = N Col( dt ), i >= 1, i--,
ET_col = Column( dt, i ) << Get Name();
If( (Col N Missing( Column( i ) ) / N Row()) != 1 & Contains( ET_col, "ETarg" ),
Insert Into( ET_LIST, ET_col )
);
);
Show( ET_LIST );
//takes column list and removes the TAG extension to provide the list of tags
n = N Items( ET_LIST );
For( i = 1, i <= n, i++,
ETARG = ET_LIST[i] ;
NFull = Length(ETARG) ;
ETTAG = Left(ETARG,(NFull-6)) ;
Insert Into(ET_TAG_List, ETTAG);
);
Show(ET_TAG_List);
//want to now take that list and put it into a list box for user to select. will use getselected/onchange to update the charts
New Window( "Example",
List1 = List Box( ET_TAG_List );
List1 << Set Items( ET_TAG_List );
);
champ de saisie vide..

La ";" arrêtez le traitement, passez à
New Window( "Example",
List1 = List Box( ET_TAG_List ),
List1 << Set Items( ET_TAG_List )
);