ps5000GetValues in aggregate mode

Post your C and C++ discussions here
Post Reply
koen
Newbie
Posts: 0
Joined: Thu Mar 11, 2010 5:38 pm

ps5000GetValues in aggregate mode

Post by koen »

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.

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Re: ps5000GetValues in aggregate mode

Post by Robin »

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

Post Reply