PicoScope 3000A Series Prog rammer's Guide 95
Copyright © 2011-2013 Pico Technology Limited. All rights reserved. ps3000abpg.en r9
2.12.55
ps3000aSetTriggerChannelDirections
PICO_STATUS ps3000aSetTriggerChannelDirections
(
short handle,
PS3000A_THRESHOLD_DIRECTION channelA,
PS3000A_THRESHOLD_DIRECTION channelB,
PS3000A_THRESHOLD_DIRECTION channelC;
PS3000A_THRESHOLD_DIRECTION channelD;
PS3000A_THRESHOLD_DIRECTION ext,
PS3000A_THRESHOLD_DIRECTION aux
)
This function sets the direction of the trigger for each channel.
handle, the handle of the required device
channelA, channelB,channelC, channelD, ext, the
direction in which the signal must pass through the threshold to
activate the trigger. See the table below for allowable values. If using
a level trigger in conjunction with a pulse-width trigger, see the
description of the direction argument to
ps3000aSetPulseWidthQualifierV2 for more information.
aux, not used
PICO_OK
PICO_INVALID_HANDLE
PICO_USER_CALLBACK
PICO_INVALID_PARAMETER
PS3000A_THRESHOLD_DIRECTION constants
for gated triggers: above the upper threshold
for gated triggers: above the lower threshold
for gated triggers: below the upper threshold
for gated triggers: below the lower threshold
for threshold triggers: rising edge, using upper
threshold
for threshold triggers: rising edge, using lower
threshold
for threshold triggers: falling edge, using upper
threshold
for threshold triggers: falling edge, using lower
threshold
PS3000A_RISING_OR_FALLING
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
for window-qualified triggers
for window-qualified triggers