I want to develop a Windows based application that would interface with external hardware using serial communication. The hardware would in turn relay back the feedback to the application. This entire loop should be ideally completed within a millisecond.
Is it possible to develop such an application on Windows OS? I read somewhere that only 0.01 seconds accurate precision can be achieved on Windows. Initially I have tried developing a smaller model running on Labview with a 2 line matlab script, but even that is taking atleast 2 ms to execute without any external communication.
I went through the this link which talks about microseconds timing in Windows in C++. Which gives me the idea that Windows is not accurate to even a millisecond precision. Do I have to leave Windows and develop an RTOS/bare metal application on a suitable hardware?