EasyManuals Logo
Home>PICO>Test Equipment>PicoScope 3204A

PICO PicoScope 3204A Programmer's Guide

PICO PicoScope 3204A
144 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #76 background imageLoading...
Page #76 background image
Prog ramming the 3000A Series oscilloscopes70
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.ps3000abpg.en r9
2.12.42
ps3000aSetDataBuffers
PICO_STATUS ps3000aSetDataBuffers
(
short handle,
PS3000A_CHANNEL channel,
short * bufferMax,
short * bufferMin,
long bufferLth,
unsigned short segmentIndex,
PS3000A_RATIO_MODE mode
)
This function tells the driver the location of one or two buffers for receiving data. You
need to allocate memory for the buffers before calling this function. If you do not need
two buffers, because you are not using aggregate mode, then you can optionally use
ps3000aSetDataBuffer instead.
Applicability
Block and streaming modes with aggregation.
Arguments
handle, the handle of the required device.
channel, the channel for which you want to set the buffers. Use
one of these constants:
PS3000A_CHANNEL_A
PS3000A_CHANNEL_B
PS3000A_CHANNEL_C
PS3000A_CHANNEL_D
To set the buffer for a digital port, use one of these values:
PS3000A_DIGITAL_PORT0 = 0x80
PS3000A_DIGITAL_PORT1 = 0x81
* bufferMax, a buffer to receive the maximum data values in
aggregation mode, or the non-aggregated values otherwise.
* bufferMin, a buffer to receive the minimum aggregated data
values. Not used in other downsampling modes.
bufferLth, the size of the bufferMax and bufferMin arrays.
segmentIndex, the number of the memory segment to be used
mode, see ps3000aGetValues
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_INVALID_CHANNEL
PICO_RATIO_MODE_NOT_SUPPORTED
PICO_SEGMENT_OUT_OF_RANGE
PICO_DRIVER_FUNCTION
PICO_INVALID_PARAMETER

Table of Contents

Other manuals for PICO PicoScope 3204A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the PICO PicoScope 3204A and is the answer not in the manual?

PICO PicoScope 3204A Specifications

General IconGeneral
BrandPICO
ModelPicoScope 3204A
CategoryTest Equipment
LanguageEnglish

Related product manuals