
Prog ramming the 3000A Series oscilloscopes
56
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.30 ps3000aMemorySegments
PICO_STATUS ps3000aMemorySegments
(
short handle,
unsigned short nSegments,
long * nMaxSamples
)
This function sets the number of memory segments that the scope will use.
When the scope is
, the number of segments defaults to 1, meaning that each
capture fills the scope's available memory. This function allows you to divide the
memory into a number of segments so that the scope can store several waveforms
sequentially.
Applicability
All modes
Arguments
handle,
the handle of the required device
nSegments,
the number of segments required, from 1 to:
16,384
PicoScope 3204A
PicoScope 3404A
32,768
PicoScope 3204B
PicoScope 3204 MSO
PicoScope 3404B
65,535
PicoScope 3205A
PicoScope 3205B
PicoScope 3205 MSO
PicoScope 3405A
PicoScope 3405B
PicoScope 3206A
PicoScope 3206B
PicoScope 3206 MSO
PicoScope 3406A
PicoScope 3406B
100,000
PicoScope 3207A
200,000
PicoScope 3207B
* nMaxSamples,
on exit, the number of samples available in each
segment. This is the total number over all channels, so if more than
one channel is in use then the number of samples available to each
channel is
nMaxSamples
divided by the number of channels.
PICO_OK
PICO_USER_CALLBACK
PICO_INVALID_HANDLE
PICO_TOO_MANY_SEGMENTS
PICO_MEMORY
PICO_DRIVER_FUNCTION