Installation guide

API functions36
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved.ps4000apg.en r1
4.17
ps4000aGetTriggerTimeOffset
PICO_STATUS ps4000aGetTriggerTimeOffset
(
int16_t handle,
uint32_t * timeUpper,
uint32_t * timeLower,
PS4000A_TIME_UNITS * timeUnits,
uint32_t 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, 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, on exit, the time units in which * timeUpper and *
timeLower are measured. The allowable values are:
PS4000A_FS
PS4000A_PS
PS4000A_NS
PS4000A_US
PS4000A_MS
PS4000A_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