Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to improve timing in vb
Message
From
21/09/2000 09:10:17
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
How to improve timing in vb
Miscellaneous
Thread ID:
00418957
Message ID:
00418957
Views:
48
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...
Next
Reply
Map
View

Click here to load this message in the networking platform