While test true

Don't use a while loop
Read the FAQ about timing

You might want to elaborate what exactly you are trying to do...
Are you familiar with the clock component?

Taifun