Hi,
I use 4 Timers for scrutting some datas from 4 differents equipments with the Serialport Com.
All are ok.
I use CreateFile, ReadFile and WriteFile.
I use a fixed delay SetTimer(xxxx,10,NULL) of 10 ms.
I would like to know if the delay for scrutting the datas is 10ms, the CPU create a queue on my differents Timers.
For example :
I create a automation for digitalize videoclip in MPEG2 files in a videoserver.
I would like to synchronise the Record of the file Server with VideoTape with a Timer. The timer read the Status of the VideoTape and when I have the confirmation I Begin the RECORD.
I create this and it is working. But when I read the file in the VideoServer, the first file is good but the second is beginning 80 ms after and the third file is beginning 160 ms after the first.
I don't know where the delay is created.
After finishing the Recording, I Kill all Timers (KillTimer).
If anyone can help me
All answer is welkom.
Best regards.
I use 4 Timers for scrutting some datas from 4 differents equipments with the Serialport Com.
All are ok.
I use CreateFile, ReadFile and WriteFile.
I use a fixed delay SetTimer(xxxx,10,NULL) of 10 ms.
I would like to know if the delay for scrutting the datas is 10ms, the CPU create a queue on my differents Timers.
For example :
I create a automation for digitalize videoclip in MPEG2 files in a videoserver.
I would like to synchronise the Record of the file Server with VideoTape with a Timer. The timer read the Status of the VideoTape and when I have the confirmation I Begin the RECORD.
I create this and it is working. But when I read the file in the VideoServer, the first file is good but the second is beginning 80 ms after and the third file is beginning 160 ms after the first.
I don't know where the delay is created.
After finishing the Recording, I Kill all Timers (KillTimer).
If anyone can help me
All answer is welkom.
Best regards.