Installation guide
PicoScope 4000 Series (A API) Programmer's Guide 29
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved. ps4000apg.en r1
4.10
ps4000aGetMaxDownSampleRatio
PICO_STATUS ps4000aGetMaxDownSampleRatio
(
int16_t handle,
uint32_t noOfUnaggregatedSamples,
uint32_t * maxDownSampleRatio,
PS4000A_RATIO_MODE downSampleRatioMode,
uint32_t 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 raw samples to be
used to calculate the maximum downsampling ratio
* maxDownSampleRatio, on exit, the maximum possible
downsampling ratio
downSampleRatioMode, see Downsampling
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