LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Chronomètre avec fonction Pause

Bonjour,

 

Je souhaite réaliser un chronomètre m'indiquant un temps en secondes, avec surtout la possibilité d'avoir une fonction 'pause' pour arrêter le décompte du temps. Le chronomètre est activé par un bouton poussoir et la fonction 'Pause' également.

J'ai réalisé un vi, le chrono démarre bien par action sur le bouton mais : 

- le temps ne s'affiche pas en secondes

- je ne peux pas remettre le chrono à 0

- je n'ai pas de fonction 'Pause'.

 

Pouvez vous me donner quelques pistes ?

 

Merci

0 Kudos
Message 1 of 3
(3,229 Views)

This part of the forum is dedicated to CVI and it's not a french-language forum.

 

Best regards,

Nicolas

0 Kudos
Message 2 of 3
(3,224 Views)

As stated from Nicolas, you will have better support either in the LabVIEW forum or in the French community forum.

In any case I tried to modify your vi to make it functional according to what I have understood based on my rudimentary knowledge of french: the main modifications were to put away initial case structure and placing the boolean inside the while loop (otherwise its value is read only before entering the loop and no more).

The modified version is attached.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 3
(3,218 Views)