User manual

Programming with the PicoScope 6000 Series66
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved.ps6000pg.en r9
3.9.39
ps6000SetEtsTimeBuffers
PICO_STATUS ps6000SetEtsTimeBuffers
(
short handle,
unsigned long * timeUpper,
unsigned long * timeLower,
unsigned long bufferLth
)
This function tells the driver where to find your application's ETS time buffers. These
buffers contain the timing information for each ETS sample after you run a block-
mode ETS capture. There are two buffers containing the upper and lower 32-bit parts
of the timing information, to allow programming languages that do not support 64-bit
data to retrieve the timings.
Applicability
ETS mode only.
If your programming language supports 64-bit data then you can
use ps6000SetEtsTimeBuffer instead.
Arguments
handle, the handle of the required device
* timeUpper, an array of 32-bit words, each representing the
upper 32 bits of the time in nanoseconds at which the sample was
captured
* timeLower, an array of 32-bit words, each representing the
lower 32 bits of the time in nanoseconds at which the sample was
captured
bufferLth, the size of the timeUpper and timeLower arrays
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_NULL_PARAMETER
PICO_DRIVER_FUNCTION