User manual
Programming with the PicoScope 6000 Series48
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved.ps6000pg.en r9
3.9.25
ps6000MemorySegments
PICO_STATUS ps6000MemorySegments
(
short handle
unsigned long nSegments,
unsigned long * nMaxSamples
)
This function sets the number of memory segments that the scope will use.
When the scope is opened, 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:
Model
Number
Min
Max
6402
1
32 768
6402A
1
125 000
6402B
1
250 000
6402C
1
250 000
6402D
1
500 000
6403
1
1 000 000
6403A
1
250 000
6403B
1
500 000
6403C
1
500 000
6403D
1
1 000 000
6404
1
1 000 000
6404A
1
500 000
6404B
1
1 000 000
6404C
1
1 000 000
6404D
1
2 000 000
6407
1
1 000 000
* 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.
Returns
PICO_OK
PICO_USER_CALLBACK
PICO_INVALID_HANDLE
PICO_TOO_MANY_SEGMENTS
PICO_MEMORY
PICO_DRIVER_FUNCTION