
Prog ramming the 3000A Series oscilloscopes
40
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.17 ps3000aGetTriggerTimeOffset
PICO_STATUS ps3000aGetTriggerTimeOffset
(
short handle,
unsigned long * timeUpper,
unsigned long * timeLower,
PS3000A_TIME_UNITS * timeUnits,
unsigned short segmentIndex
)
This function gets the time, as two 4-byte values, at which the trigger occurred. Call it
after
data has been captured or when data has been retrieved from a
previous block-mode capture. A 64-bit version of this function,
, is also available.
Applicability
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: -
PS3000A_FS
PS3000A_PS
PS3000A_NS
PS3000A_US
PS3000A_MS
PS3000A_S
segmentIndex,
the number of the
for which the
information is required.
PICO_OK
PICO_INVALID_HANDLE
PICO_DEVICE_SAMPLING
PICO_SEGMENT_OUT_OF_RANGE
PICO_NOT_USED_IN_THIS_CAPTURE_MODE
PICO_NOT_RESPONDING
PICO_NULL_PARAMETER
PICO_NO_SAMPLES_AVAILABLE
PICO_DRIVER_FUNCTION