It is frequently necessary to have a high frequency timer in C# (more than 50 Hz). Especially in robots, frequencies around 100Hz are necessary for managing positionning task or real time operating systems task.

However built in timers form System.TImers System.Threading or Dispatcher Timers are not usable for these features because their frequency is limited to approximately 40 Hz and their period can vary a lot from one the the next one.

Here, a high frequency timer is proposed and can be embedded as a library in a project. Code can be downloaded here : Download High Frequency Timer Project

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny