User Manual

Programming with the PicoScope 4000 Series68
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
4.10.46
ps4000SetEtsTimeBuffers
PICO_STATUS ps4000SetEtsTimeBuffers
(
short handle,
unsigned long * timeUpper,
unsigned long * timeLower,
long bufferLth
)
This function tells the PicoScope 4000 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 correctly.
Note: ETS mode is not supported by the PicoScope 4262 oscilloscope.
Applicability
ETS mode only.
If your programming language supports 64-bit data, then you can
use ps4000SetEtsTimeBuffer instead.
Arguments
handle, the handle of the required device
timeUpper, a pointer to a set of 4-byte words, the time in
nanoseconds at which the first data point occurred, top 32 bits only
timeLower, a pointer to a set of 4-byte words, the time in
nanoseconds at which the first data point occurred, bottom 32 bits
only
bufferLth, the size of the timeUpper and timeLower arrays
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_NULL_PARAMETER