Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6154419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:15:36+00:00 2026-05-23T20:15:36+00:00

I am using the hardware with ftdi chip in FIFO mode and D2xx driver

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:15:36+00:00Added an answer on May 23, 2026 at 8:15 pm

    It will probably be more reliable to keep blocking on Read() in a separate thread.

    SetTimer() is meant only for low-res work. Its resolution can actually be scaled back depending on power settings in more recent versions of Windows.

    If you want high-resolution timers, Timer Queues or Multimedia Timers (specifically, timeSetEvent()) are the way to go, both of which can have a resolution down to 1ms.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a hardware interface to send data that requires me to set
Can you install a hardware driver, built using WinUSB, along with a C# application
When I take pictures using android.hardware.camera and I save them to the following location
I need some pointers on how to detect unknown hardware using .NET and C++/C#.
I have to make a hardware project using a microcontroller, memory, screens, etc. Is
I need to communicate with a hardware device using TCP and with Windows I
I'm looking for a performant, reasonably robust RNG using no special hardware. It can
How to get hardware information of a system using c# code?
I'm using a 3rd party DLL written in unmanaged C++ that controls some hardware
UPDATE: Focus your answers on hardware solutions please. What hardware/tools/add-in are you using to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.