08-12-2013 11:20 AM
Bonjour,
Je cherche à exporter des données sous excel sous plusieurs utilisations.
Par exemple une personne A réalise au jour J une performance de 21. Le lendemain ( J+1), une personne B réalise une performance de 30.
J'aimerais que ces données soient sous un même fichier excel, malgré le fait que l'enregistrement n'ait pas été fait le même jour.
Cela donnerait sous excel un tableau avec une colonne personne, une colonne date et une colonne performance, avec en dessous les valeurs des personnes associées.
Merci d'avance,
Cordialement
Ggermm
Solved! Go to Solution.
08-12-2013 02:07 PM - edited 08-12-2013 02:10 PM
Si vous utilisez le "Write to Spreadsheet String", il y a un choix d'ajouter ou écrire un nouveau fichier. J'ai mis des boutons pour chaque cas.
08-12-2013 02:08 PM
The easiest way to do this will be using a tab- or comma-delimited text file, which you will be able to read in Excel. Then you need only open the file, set the file location to the end of the file, and write the new data. See the attached example code, which you can drag into a block diagram. Set the filename and other front panel controls, then run it. Change the name and score, and run it again. Then open the file, and see if it's what you expect. Here it writest the time instead of date so you can run it several times in the same day and see the difference.
08-13-2013 03:02 AM
Bonjour,
merci pour vos réponses si rapides!
Je n'ai pas trop compris vos exemple, avec nouveau fichier le chemin excel. Pouvez vous etre un peu plus précis s'il vous plait? je suis plutôt débutant en labview.
Je vais testé l'exemple avec l'image PNG.
Merci encore