For my project i use a .net DLL file with C# application. I read adc data from 18f4550 (mikroc) and send them to pc, print them in c# console window. Though the HID data throughput is defined maximum at 64kbpS, i can't receive even more than 50 samples per second to the console window. It makes me trouble. Is there a way to increase the data throughput received by c# program ? Or do i have to change my dll file ? Its event catcher collects the data when the MCU sends data to the pc (interrupt). Please HELP me
I don't know specifically what is the step-by-step process, but your slow throughput sounds as though you might be using up an entire buffer to send one data sample at a time.
I suspect you will get faster throughput if you add data samples to a buffer until the buffer is full, then send the entire buffer contents at one time.