Please tell us what kind of hardware you are using and how you are sending your sine wave to it. 0.5 ms per point is too fast to do software timed updates on any desktop OS based system. You will need to send buffered data to a hardware timed system or use a real time OS.
Lynn