While attempting to make use of oversamping I've become quite confused about the maximum number of samples.

while using ps2000_get_timebase(...) with a timebase of 9, and an oversampling rate of 2. I get a maxsamples value just under 4000. Now if I try to set the number of samples to the value of maxsamples it returns 0, appearing to be out of range. To get the function to return in range, I must take the value for maxsamples that the get_timebase(...) returns and divide it by the oversampling rate. Resulting in just under 2000 samples.

My problem is that I could really use a higher oversampling rate, and 2000 samples.

Is this the correct operation of get_timebase with oversampling. It appears to in a 1/(oversampling rate)^2 reduction in maxsamples.

Or is this a glitch in the dll function?

Thanks for any insite you can give.

-Adam