Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to improve timing in vb
Message
De
21/09/2000 09:10:17
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
How to improve timing in vb
Divers
Thread ID:
00418957
Message ID:
00418957
Vues:
46
Is there a way to perform a more accurate timing than the timer() function.

What I need is a routine that processes data during a period of 10 ms.

Public Sub Process10ms()
dim t as single

T = Timer + 0.010
Do While Timer < T
ProcessSomething
Loop
End Sub

The timer has an accuracy of 1/18 of a second, how can improve this ?
============================================================
'C' is shorthand for Confusion, 'C++' much more confusion...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform