User Manual

Programming with the PicoScope 4000 Series62
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
4.10.40
ps4000SetDataBufferBulk
PICO_STATUS ps4000SetDataBufferBulk
(
short handle,
PS4000_CHANNEL channel,
short * buffer,
long bufferLth,
unsigned short waveform
)
This function allows the buffers to be set for each waveform in rapid block mode. The
number of waveforms captured is determined by the nCaptures argument sent to
ps4000SetNoOfCaptures. There is only one buffer for each waveform, because bulk
collection does not support aggregation.
Applicability
Rapid block mode
Arguments
handle, the handle of the device
channel, the scope channel with which the buffer is to be
associated. The data should be retrieved from this channel by calling
one of the GetValues functions.
* buffer, an array in which the captured data is stored
bufferLth, the size of the buffer
waveform, an index to the waveform number, between 0 and
nCaptures - 1
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_INVALID_CHANNEL
PICO_INVALID_PARAMETER