Test and Measurement Forum

ps5000GetValues in aggregate mode

Post your C and C++ discussions here

ps5000GetValues in aggregate mode

Postby koen » Thu Mar 11, 2010 5:48 pm

Hi,

We have been trying the aggregate mode with ps5000GetValues in block mode, and seem to only get positive values returned.

When we use normal mode, we get both positive and negative values, but once aggregate is used (with different factors) we to only get positive values, with the top half of the signal correctly represented.

Is this anything you have come across before?

Thanks in advance,

Koen.
koen
Newbie
 
Posts: 0
Joined: Thu Mar 11, 2010 5:38 pm

Re: ps5000GetValues in aggregate mode

Postby Robin » Mon Mar 15, 2010 12:49 pm

Hi

When using aggregation, the driver returns min and max values for each channel. Are you looking at both buffers?

You should set up your buffers using ps5000SetDataBuffers rather than ps5000SetDataBuffer.

I hope this helps

Robin
Robin
Zen Master
Zen Master
 
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am


Return to C and C++

Who is online

Users browsing this forum: No registered users and 1 guest