Search found 9 matches

by evo_racer
Tue May 13, 2014 1:47 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# UsbDrDaq Problem with UsbDrDaqGetValues
Replies: 15
Views: 15634

Re: C# UsbDrDaq Problem with UsbDrDaqGetValues

Hi Karunen, Thanks for your Statement. If this is realy a documentation error it would be a bit annoing for me, then i probably need ~50.000 samples to have a accurate solution for my problem. But how ever, if this is a fact i can't change it, but the only strange thing according my experience it's ...
by evo_racer
Mon May 12, 2014 9:21 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# UsbDrDaq Problem with UsbDrDaqGetValues
Replies: 15
Views: 15634

Re: C# UsbDrDaq Problem with UsbDrDaqGetValues

No problem, :D i tryed your values: const uint nSamples = 50000; uint usForBlock = 500 * 1000; //get blocks each 500ms the error disapears, and capture starts normaly, but the device gets again only 50.000 samples per second! you can use my code above to reproduce my problem. the source of the probl...
by evo_racer
Sat May 10, 2014 5:17 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# UsbDrDaq Problem with UsbDrDaqGetValues
Replies: 15
Views: 15634

Re: C# UsbDrDaq Problem with UsbDrDaqGetValues

Hi Karunen, first thank you for your example via mail. i have watched your example and i see that you collected 100 samples per second, but i neet to get 100.000 per second (this is possible according the drdaq documentation page 17: UsbDrDaqSetInterval: The fastest possible sampling interval is 1 m...
by evo_racer
Fri May 09, 2014 2:09 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# UsbDrDaq Problem with UsbDrDaqGetValues
Replies: 15
Views: 15634

Re: C# UsbDrDaq Problem with UsbDrDaqGetValues

Hi Karunen, i don't understand your calculation. i have configured the device to get 5000 samples over 50.000us (50ms), if i calculate this are 100 samples each ms and this is 100.000 samples per second (according my calculations). I don't unserstand how you get 25 samples per second... But the stra...
by evo_racer
Fri May 09, 2014 1:40 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# UsbDrDaq Problem with UsbDrDaqGetValues
Replies: 15
Views: 15634

Re: C# UsbDrDaq Problem with UsbDrDaqGetValues

Hi Karunen, Sorry for my late response, but i have to do some major rewrites of my programm for final testing. i can't remove the sleep totaly cause i need a realtime feedback for my UI, but i have reduced sleep to 15ms, and the device delivers a constant stream of with ~100.000 samples per second (...
by evo_racer
Mon Apr 21, 2014 6:15 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# UsbDrDaq Problem with UsbDrDaqGetValues
Replies: 15
Views: 15634

Re: C# UsbDrDaq Problem with UsbDrDaqGetValues

Thanks for your answer. i have used a similar code (i % 2 == 0) in my programm as well, but your suggestion about the buffer size (thread sleep) could solve my problem. i try it in the next few days. what values do you suggest for the fastest possible sample rate with two channels? i have 20.000 sam...
by evo_racer
Tue Apr 08, 2014 8:27 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# UsbDrDaq Problem with UsbDrDaqGetValues
Replies: 15
Views: 15634

Re: C# UsbDrDaq Problem with UsbDrDaqGetValues

Sorry, was a few days on vacation, My version is: USBDrDAQ.dll version 1.0.0.227 PICOPP.SYS V1.0 the strange thing is, the PicoScope displays the data correctly, only the API seems to have the problem or creates a problem interfacing with C# (for this reason maybe check my imports in the code upon) ...
by evo_racer
Thu Apr 03, 2014 9:55 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# UsbDrDaq Problem with UsbDrDaqGetValues
Replies: 15
Views: 15634

Re: C# UsbDrDaq Problem with UsbDrDaqGetValues

Any Feedback? Maybe from officials could be a bug?
by evo_racer
Tue Apr 01, 2014 12:18 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: C# UsbDrDaq Problem with UsbDrDaqGetValues
Replies: 15
Views: 15634

C# UsbDrDaq Problem with UsbDrDaqGetValues

Hello, i have a little problem with UsbDrDaq UsbDrDaqGetValues, i try to continous capture data from UsbDrDaq with BM_STREAM. I have used the code from collect_streaming (USBDrDAQcon.c) ported for C# It works well if i use one channel (like in the example) but if i want to record 2 channels, i have ...