User manual
Programming with the PicoScope 6000 Series44
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved.ps6000pg.en r9
3.9.21
ps6000GetValuesTriggerTimeOffsetBulk
PICO_STATUS ps6000GetValuesTriggerTimeOffsetBulk
(
short handle,
unsigned long * timesUpper,
unsigned long * timesLower,
PS6000_TIME_UNITS * timeUnits,
unsigned long fromSegmentIndex,
unsigned long toSegmentIndex
)
This function retrieves the time offsets, as lower and upper 32-bit values, for
waveforms obtained in rapid block mode.
This function is provided for use in programming environments that do not support
64-bit integers. If your programming environment supports this data type, it is easier
to use ps6000GetValuesTriggerTimeOffsetBulk64.
Applicability
Rapid block mode
Arguments
handle, the handle of the device
* timesUpper, an array of integers. On exit, the most significant
32 bits of the time offset for each requested segment index. times
[0] will hold the fromSegmentIndex time offset and the last
times index will hold the toSegmentIndex time offset. The array
must be long enough to hold the number of requested times.
* timesLower, an array of integers. On exit, the least-significant
32 bits of the time offset for each requested segment index. times
[0] will hold the fromSegmentIndex time offset and the last
times index will hold the toSegmentIndex time offset. The array
size must be long enough to hold the number of requested times.
* timeUnits, an array of integers. The array must be long enough
to hold the number of requested times. On exit, timeUnits[0] will
contain the time unit for fromSegmentIndex and the last element
will contain the time unit for toSegmentIndex.
fromSegmentIndex, the first segment for which the time offset is
required
toSegmentIndex, the last segment for which the time offset is
required. 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