User manual

PicoScope 6000 Series Programmer's Guide 45
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved. ps6000pg.en r9
3.9.22
ps6000GetValuesTriggerTimeOffsetBulk64
PICO_STATUS ps6000GetValuesTriggerTimeOffsetBulk64
(
short handle,
__int64 * times,
PS6000_TIME_UNITS * timeUnits,
unsigned long fromSegmentIndex,
unsigned long toSegmentIndex
)
This function retrieves the 64-bit time offsets for waveforms captured in rapid block
mode.
A 32-bit version of this function, ps6000GetValuesTriggerTimeOffsetBulk, is available
for use with programming languages that do not support 64-bit integers.
Applicability
Rapid block mode
Arguments
handle, the handle of the device
* times, an array of integers. On exit, this will hold the time offset
for each requested segment index. times[0] will hold the time
offset for fromSegmentIndex, and the last times index will hold
the time offset for toSegmentIndex. The array must be long enough
to hold the number of times requested.
* timeUnits, an array of integers long enough to hold the number
of requested times. timeUnits[0] will contain the time unit for
fromSegmentIndex, and the last element will contain the
toSegmentIndex.
fromSegmentIndex, the first segment for which the time offset is
required. The results for this segment will be placed in times[0]
and timeUnits[0].
toSegmentIndex, the last segment for which the time offset is
required. The results for this segment will be placed in the last
elements of the times and timeUnits arrays. If toSegmentIndex
is less than fromSegmentIndex then the driver will wrap around
from the last segment to the first.
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_NULL_PARAMETER
PICO_DEVICE_SAMPLING
PICO_SEGMENT_OUT_OF_RANGE
PICO_NO_SAMPLES_AVAILABLE
PICO_DRIVER_FUNCTION