User Manual

Programming with the PicoScope 4000 Series32
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
4.10.13
ps4000GetTriggerTimeOffset
PICO_STATUS ps4000GetTriggerTimeOffset
(
short handle
unsigned long * timeUpper
unsigned long * timeLower
PS4000_TIME_UNITS * timeUnits
unsigned short 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.
Applicability
Block mode, rapid block mode
Arguments
handle, the handle of the required device
timeUpper, a pointer to the upper 32 bits of the time at which the
trigger point occurred
timeLower, a pointer to the lower 32 bits of the time at which the
trigger point occurred
timeUnits, see ps4000GetTriggerChannelTimeOffset.
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