API Functions38
Copyright © 2006–2016 Pico Technology Ltd. All rights reserved.ps2000pg.en r11
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.
Available in block mode and fast streaming mode only
PicoScope 2202, 2204, 2204A, 2205 and 2205A only
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
0: if unsuccessful, or if one or more of the arguments are out of
range
non-zero: if successful
PS2000_THRESHOLD_DIRECTION constants
for gated triggers: above a threshold
for gated triggers: below a threshold
for threshold triggers: rising edge
for threshold triggers: falling edge
for threshold triggers: either edge
for window-qualified triggers: inside window
for window-qualified triggers: outside window
for window triggers: entering the window
for window triggers: leaving the window
for window triggers: either entering or leaving the
window