User Manual
Programming with the PicoScope 4000 Series26
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
4.10.7
ps4000GetMaxDownSampleRatio
PICO_STATUS ps4000GetMaxDownSampleRatio
(
short handle,
unsigned long noOfUnaggregatedSamples,
unsigned long * maxDownSampleRatio,
short downSampleRatioMode,
unsigned short segmentIndex
)
This function returns the maximum downsampling ratio that can be used for a given
number of samples.
Applicability
All modes
Arguments
handle, the handle of the required device
noOfUnaggregatedSamples, the number of unaggregated
samples to be used to calculate the maximum downsampling ratio
maxDownSampleRatio, returns the aggregation ratio
downSampleRatioMode, see ps4000GetValues
segmentIndex, the memory segment where the data is stored
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_NO_SAMPLES_AVAILABLE
PICO_NULL_PARAMETER
PICO_INVALID_PARAMETER
PICO_SEGMENT_OUT_OF_RANGE
PICO_TOO_MANY_SAMPLES