Installation guide
PicoScope 4000 Series (A API) Programmer's Guide 57
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved. ps4000apg.en r1
Applicability
Streaming mode only
Arguments
handle, the handle of the required device.
* sampleInterval, on entry, the requested time interval between
data points on entry; on exit, the actual time interval assigned.
sampleIntervalTimeUnits, the unit of time that the
sampleInterval is set to. See ps4000aGetTriggerTimeOffset
for values.
maxPreTriggerSamples, the maximum number of raw samples
before a trigger condition for each enabled channel. If no trigger
condition is set this argument is ignored.
maxPostTriggerSamples, the maximum number of raw samples
after a trigger condition for each enabled channel. If no trigger
condition is set this argument states the maximum number of
samples to be stored.
autoStop, a flag to specify if the streaming should stop when all
of maxSamples have been taken.
downSampleRatio, the number of raw values to each
downsampled value.
downSampleRatioMode, the type of data reduction to use. See
ps4000aGetValues for details.
overviewBufferSize, the size of the overview buffers. These are
temporary buffers used for storing the data before returning it to the
application. The size is the same as the bufferLth value passed to
ps4000aSetDataBuffer.
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_USER_CALLBACK
PICO_NULL_PARAMETER
PICO_INVALID_PARAMETER
PICO_STREAMING_FAILED
PICO_NOT_RESPONDING
PICO_TRIGGER_ERROR
PICO_INVALID_SAMPLE_INTERVAL
PICO_INVALID_BUFFER