Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quid with On Timer in VC++ ???

Status
Not open for further replies.

youssef

Programmer
Mar 13, 2001
96
0
0
BE
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.


 
Just out of curiosity - what is "scrutting"? :) Hope that this helped! ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top