| |
|
|
Detlef Tussing | How exactly the Timer with z.B. sleep 350 and how much Time need The thereafter subesquent command in example
setdigi1% sleep 350 x%=readdigi1%
with setdigi1% steuer I a externe hardware with readdigi1% read I The hardware from The ext. hardware needed 20 ms then should x% to 370 ms a worth having or lieg I there wrong |
|
|
| Gruß Detlef Tussing Windows XP, XProfan 10 | 11/11/09 ▲ |
|
|
|
|
Nico Madysa | mathematical ought to it hinkommen, however must You Nich forget, that Sleep very inaccurate is. plus less 12 msec was The uncertainty, if I me not crazy. |
|
|
| |
|
|
|
Detlef Tussing | have you got there already experience so ? |
|
|
| Gruß Detlef Tussing Windows XP, XProfan 10 | 11/11/09 ▲ |
|
|
|
|
Nico Madysa | No, as accurate had I yet yet never something timen; however have I here in the Forum already often times something drüber aufgeschnappt. i will bet, that The Forensuche to "Sleep" or "Timer" or something Ähnlichem you plenty Erkenntnisse bescheren becomes. |
|
|
| |
|
|
|
| windows Sleep is down not steady, independent time of eingebauter inaccuracy. must only one Process 100% muxen and from Sleep 100 becomes Sleep 100000, but never andersum.
The row x%=readdigi1% can You according to Rechnergeschwindigkeit a couple time per Millisekunde manage, here a whole ms draufzuaddieren would already plenty.
>> then should x% to 370 ms a worth having
Sleep 350 means were at least350+x ms. ^^ |
|
|
| |
|
|
|
Jörg Sellmeyer | Accurate GEHTS probably with SetTimer 10 and then &GetTickCount abchecken. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/12/09 ▲ |
|
|
|
|
| |
|
|
|
GDL | Hi Detlef,
I have the whole with sleep given.there with the thing zuviele interne things mitspielen.
instead of The RS232 only once abzufragen, question I The RS232 continurierlich ex.accordingly entgeht me no characters More. CompileMarkSeparation |
|
|
|
|
| |
|
| |
|
|
|
GDL | Hi,
this is experimentiell by me determined. comes on The Number of To conceived Bytes on.apiece More umso longer settimer.
Ausserdem can in the Empfangsunterprogramm yet variieren. by me given the The best Solution for 3 To conceived byte.
Hello Georg |
|
|
| |
|
|