06-19-2014 08:57 AM
Bonjour,
Je réalise une chaine d'acquisition de données hémodynamiques. Pour cela j'ai crée un VI qui permet d'afficher et d'enregistrer les données quand l'utilisateur le souhaite.
Je mets en pièce jointe les 2 faces du VI
L'utilisateur enregistre sous forme de séquences qui corresponde chacune a un fichier. J'ai donc fait deux boucles for pour cela.
Mon problème est que quand je clique sur le bouton stop le VI ne s'arréte pas...
Merci d'avance pour votre aide
ps: il doit y avoir d'autres erreurs ou améliorations possibles mais le VI fonctionne 🙂
06-19-2014 01:48 PM
I recommend that you make a copy of this VI, remove everything except the stop buttons, and then run it with Execution Highlighting (the "light bulb" icon in the toolbar). You might also want to put a delay (the Wait(ms)) function inside the inner while loop. See if that helps you understand the problem. The way your code is currently set up, you need to first push the "stop 2" button, then the "stop" button, and the whole VI will stop. Pushing only one button, or pushing them in the wrong order, won't work.