LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

temps d'attente érroné sous labview 8.5

bonjour,

j'ai besoin pr mon programme d'une temporisation de 5s qui détermine la commande d'un moteur.
j'utilise la fonction "attendre un multiple de ms", seulement je constate que l'attente est parfois loin des 5 secondes désirées..
cela est très aléatoire, chronomètre en main, l'attente est régulièrement de 2 ou 3 secondes seulement!!

Y-a-t-il un autre moyen plus fiable pour une fonction attente? S'agit-il d'un problème récurrent sous Labview (incohérence horloge Labview/Windows)?

merci de vos réponses
0 Kudos
Message 1 of 2
(2,248 Views)

Hello,

And thank you for posting here. Please post in english on this English forum. If you want, you have a French community on this link:

 

French community

 

I translate your post for the other user.

_____________________________________________________________________________________________________________________

 

Anthodub want on this program 5s delay. He use the function wait a multiple of ms and I found the delay wrong ( 2 or 3s instead of 5s).

His questions:

Could I use another way (more reliable) to have a delay?

Is it a recurrent problem in LabVIEW?

________________________________________________________________________________________________________________________

 

If you want a delay on you program, you have to use a sequential structure and put the function wait a multiple of ms inside. Moreover, you need to respect the dataflow (if you don’t want a parallel execution). In this case, you can wire the error cluster as the attachment file.

 

The clock resolutions depend on your system and may be less accurate than a millisecond, depending on your platform.

Regards,

Samuel G.

Samuel G. | GEMESIS

Certified LabVIEW Architect

Certified TestStand Developer

GEMESIS.EU

0 Kudos
Message 2 of 2
(2,241 Views)