Data streaming, non aggregated

Post your C and C++ discussions here
Post Reply
Posts: 1
Joined: Mon Mar 17, 2008 11:31 am

Data streaming, non aggregated

Post by Frank13 » Mon Mar 17, 2008 11:37 am


I have a problem with data streaming with the 5203. I use the sample code from the webside and try to change it to my topics. I don't need the aggregated data sampling and want to use the non-aggregated (I need the maximum sampling frequency).
I changed the ps5000RunStreaming to downSampleRatio=1. Now the program runs in an endless loop without collecting more data after the first block.
(I use the ps5000SetDataBuffer-Funktion)

Any ideas whats wrong?



User avatar
Site Admin
Site Admin
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Post by markspencer » Tue May 13, 2008 12:20 pm


Try setting the overview buffer to a larger size. Ie. 1000000, it could be that this buffer is filling up to fast.

When collecting data in streaming and setting the downSampleRatio to 1 and collecting at it maximum capacity then the PC may not be able to keep up with the data rate from the device and lost samples will be occur.

Mark Spencer

Post Reply