I am using the hardware with ftdi chip in FIFO mode and D2xx driver for my work. Hardware is sending data bytes at the rate of 19.5KHz to 312.5 KHz for different settings. So my application software(MFC C++) is supposed to read these bytes coming at various speed.I am using Settimer and Ontimer method with value of 10 ms.So every 10 ms i am reading the data bytes and do some processing in OnTimer function. My questions are
1>with settimer method different systems are giving different results even though both the systems are XP SP3. One system is reading all the bytes without any missing but in another system data will miss. So is this timer is depend on OS or system hardware?
2> From what i understand minimum value i can set for settimer is 10 ms So every 10 ms i can read the data.If i do not read fast there will be overflow in driver buffer which i cannot control.So can i read more faster in microsecond or nano seconds with Any timer method or is there any other method? Please suggest me some idea... Thanks in advance