- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,all
I use C# streamer(the latest version) to read data from USB board(3014).As the source data is increase packet by packet I find that I miss some packet by detecting the header of the packets.but I examine all the packets transmited in USB Analyzer, It shows all the packets has reached the PC host correctly. After debuging the streamer project I find that the reason of missing packets is that the finishdatatransfer() fail.
However, to my surprise,when I use C++ streamer,I can read all the packets correctly.
Is there any bug in C# streamer(latest version)? or could you tell me what the reason may be.
thanks
dekui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sorry , the fail function is finishdataxfer in C#.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you have C# example to read data from usb?can you give me the hole project of the example? thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
So far we have not encountered this issue in C# streamer. Generally it is noticed that C++ Streamer is more efficient than C# Streamer. But that has nothing to do with the source code.
What is the rate at which you are trying to capture the data? What are the parameters you have set? For the same data rate does the different packets per xfer and xfer to queue size solve the issue?
Regards,
- Madhu Sudhan