Installation guide
PicoScope 4000 Series (A API) Programmer's Guide 67
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved. ps4000apg.en r1
4.46
ps4000aSetPulseWidthQualifierProperties
PICO_STATUS ps4000aSetPulseWidthQualifierProperties
(
int16_t handle,
PS4000A_THRESHOLD_DIRECTION direction,
uint32_t lower,
uint32_t upper,
PS4000A_PULSE_WIDTH_TYPE type
)
This function configures the general properties of the pulse width qualifier.
Applicability
All modes
Arguments
handle, the handle of the required device
direction, the direction of the signal required for the trigger to
fire. See PS4000A_DIRECTION for allowable values.
lower, the lower limit of the pulse width counter
upper, the upper limit of the pulse width counter. This parameter is
used only when the type is set to PW_TYPE_IN_RANGE or
PW_TYPE_OUT_OF_RANGE.
type, the pulse width type, one of these constants:
PW_TYPE_NONE (do not use the pulse width qualifier)
PW_TYPE_LESS_THAN (pulse width less than lower)
PW_TYPE_GREATER_THAN (pulse width greater than lower)
PW_TYPE_IN_RANGE (pulse width between lower and upper)
PW_TYPE_OUT_OF_RANGE (pulse width not between lower and
upper)
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_USER_CALLBACK
PICO_CONDITIONS
PICO_PULSE_WIDTH_QUALIFIER