
PicoScope 3000A Series Prog rammer's Guide
45
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
PICO_OK
PICO_INVALID_HANDLE
PICO_POWER_SUPPLY_CONNECTED
PICO_POWER_SUPPLY_NOT_CONNECTED
PICO_NO_SAMPLES_AVAILABLE
PICO_DEVICE_SAMPLING
PICO_NULL_PARAMETER
PICO_SEGMENT_OUT_OF_RANGE
PICO_STARTINDEX_INVALID
PICO_ETS_NOT_RUNNING
PICO_BUFFERS_NOT_SET
PICO_INVALID_PARAMETER
PICO_TOO_MANY_SAMPLES
PICO_DATA_NOT_AVAILABLE
PICO_STARTINDEX_INVALID
PICO_INVALID_SAMPLERATIO
PICO_INVALID_CALL
PICO_NOT_RESPONDING
PICO_MEMORY
PICO_RATIO_MODE_NOT_SUPPORTED
PICO_DRIVER_FUNCTION
2.12.20.1 Downsampling modes
Various methods of data reduction, or
downsampling
,
are possible with the PicoScope
3000A Series oscilloscopes. The downsampling is done at high speed by dedicated
hardware inside the scope, making your application faster and more responsive than if
you had to do all the data processing in software.
You specify the downsampling mode when you call one of the data collection functions
such as
. The following modes are available:
PS3000A_RATIO_MODE_AGGREGATE
Reduces every block of
n
values to just
two values: a minimum and a maximum. The
minimum and maximum values are returned
in two separate buffers.
PS3000A_RATIO_MODE_DECIMATE
Reduces every block of
n
values to just the
first value in the block, discarding all the
other values.
PS3000A_RATIO_MODE_AVERAGE
Reduces every block of
n
values to a single
value representing the average (arithmetic
mean) of all the values.