User manual
PicoScope 6000 Series Programmer's Guide 33
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved. ps6000pg.en r9
3.9.12
ps6000GetTriggerTimeOffset
PICO_STATUS ps6000GetTriggerTimeOffset
(
short handle
unsigned long * timeUpper
unsigned long * timeLower
PS6000_TIME_UNITS * timeUnits
unsigned long segmentIndex
)
This function gets the time, as two 4-byte values, at which the trigger occurred. Call it
after block-mode data has been captured or when data has been retrieved from a
previous block-mode capture. A 64-bit version of this function,
ps6000GetTriggerTimeOffset64, is also available.
Applicability
Block mode, rapid block mode
Arguments
handle, the handle of the required device
timeUpper, on exit, the upper 32 bits of the time at which the
trigger point occurred
timeLower, on exit, the lower 32 bits of the time at which the
trigger point occurred
timeUnits, returns the time units in which timeUpper and
timeLower are measured. The allowable values are: -
PS6000_FS
PS6000_PS
PS6000_NS
PS6000_US
PS6000_MS
PS6000_S
segmentIndex, the number of the memory segment for which the
information is required.
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_DEVICE_SAMPLING
PICO_SEGMENT_OUT_OF_RANGE
PICO_NULL_PARAMETER
PICO_NO_SAMPLES_AVAILABLE
PICO_DRIVER_FUNCTION