USB interface for an oscilloscope ! PLEASE HELP ME !!!!!

Status
Not open for further replies.

ranaya

Advanced Member level 4
Joined
Jan 22, 2012
Messages
101
Helped
4
Reputation
8
Reaction score
9
Trophy points
1,298
Location
Kelaniya
Activity points
2,164
hi every1...

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

Regards
Anu
 

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.
 
Reactions: ranaya

    ranaya

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…