Hi,

I am using Qt 5.9.1 with MinGW 32bit compiler in Embedded Windows 64-bit platform.I need to use five timers for my application.
The main timer should fire for every 31.25ms for reading the data,which means that I have to get 32 counts for one second.After reading 32 values,I need to pack data,send the data,log the data and display the data.For this four functionalities created four timers should fire for every 1000ms with 32msec intervals between the successive timers.

The problem is,

1.In Windows the timer does not times out at exact 1sec.The resolution of the timer is varying ~16ms(i.e.,In Qt Timer Class it is mentioned that the resolution of the timer depends upon the operating System).So it entirely changes the acquisiton timing,Obviously changes the all the other timings also.How to get the exact 1sec times out in Windows system?

2.The Qtimer has taking the interval in integers.But I have to trigger it for every 31.25ms.

3.Synchronization between the timers.It should be times out in the below order.

Acquistion_timer -->Pack Timer --> send Timer --> Log Timer -->Display Timer.

4.How the implement a nanosecond precision QTimer in Windows?

So please kindly help me out to solve this problems as soon as possible.