Hi ifo
The "while loop" executes as soon as possible, grabbing as much processor time as possible. Since you only need it every 1 second, allow about 900 milisecons for other processes.
You can see this topic checking the processor % work (administration tools), and you will see what I mean.
So, when using while loops, is a good practice to allow some time for other things, if possible.
Hope it helps.
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------