API Functions
42
Copyright © 2006–2022 Pico Technology Ltd. All rights reserved.
ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.21
ps2000SetAdvTriggerChannelDirections
int16_t ps2000SetAdvTriggerChannelDirections
(
int16_t handle,
PS2000_THRESHOLD_DIRECTION channelA,
PS2000_THRESHOLD_DIRECTION channelB,
PS2000_THRESHOLD_DIRECTION channelC,
PS2000_THRESHOLD_DIRECTION channelD,
PS2000_THRESHOLD_DIRECTION ext
)
This function sets the direction of the trigger for each channel.
Applicability
PicoScope 2202, 2204, 2204A, 2205 and 2205A only
Arguments
handle
: the handle of the required oscilloscope
channelA, channelB
: specify the direction in which the signal must pass
through the threshold to activate the trigger. The allowable values for a
PS2000_THRESHOLD_DIRECTION
variable are listed in the table below.
channelC, channelD
: not used
ext
: not used
Returns
0: if unsuccessful, or if one or more of the arguments are out of range
non-zero: if successful
PS2000_THRESHOLD_DIRECTION constants
PS2000_ABOVE
for gated triggers: above a threshold
PS2000_BELOW
for gated triggers: below a threshold
PS2000_ADV_RISING
for threshold triggers: rising edge
PS2000_ADV_FALLING
for threshold triggers: falling edge
PS2000_RISING_OR_FALLING
for threshold triggers: either edge
PS2000_INSIDE
for window-qualified triggers: inside window
PS2000_OUTSIDE
for window-qualified triggers: outside window
PS2000_ENTER
for window triggers: entering the window
PS2000_EXIT
for window triggers: leaving the window
PS2000_ENTER_OR_EXIT
for window triggers: either entering or leaving the window
PS2000_ADV_NONE
no trigger
Содержание PicoScope 2000 Series
Страница 1: ...Programmer s Guide ps2000pg en 12 PC Oscilloscopes PicoScope 2000 Series ...
Страница 2: ......
Страница 67: ......