
PicoScope 3000A Series Prog rammer's Guide
33
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.10 ps3000aGetMaxDownSampleRatio
PICO_STATUS ps3000aGetMaxDownSampleRatio
(
short handle,
unsigned long noOfUnaggregatedSamples,
unsigned long * maxDownSampleRatio,
PS3000A_RATIO_MODE downSampleRatioMode,
unsigned short segmentIndex
)
This function returns the maximum downsampling ratio that can be used for a given
number of samples in a given downsampling mode.
Applicability
All modes
Arguments
handle,
the handle of the required device
noOfUnaggregatedSamples,
the number of unprocessed samples
to be downsampled
* maxDownSampleRatio,
the maximum possible downsampling
ratio output
downSampleRatioMode,
the downsampling mode. See
segmentIndex,
the
PICO_OK
PICO_INVALID_HANDLE
PICO_NO_SAMPLES_AVAILABLE
PICO_NULL_PARAMETER
PICO_INVALID_PARAMETER
PICO_SEGMENT_OUT_OF_RANGE
PICO_TOO_MANY_SAMPLES