
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.
Applicability
All modes
Arguments
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
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
aux,
not used
PICO_OK
PICO_INVALID_HANDLE
PICO_USER_CALLBACK
PICO_INVALID_PARAMETER
constants
PS3000A_ABOVE
for gated triggers: above the upper threshold
PS3000A_ABOVE_LOWER
for gated triggers: above the lower threshold
PS3000A_BELOW
for gated triggers: below the upper threshold
PS3000A_BELOW_LOWER
for gated triggers: below the lower threshold
PS3000A_RISING
for threshold triggers: rising edge, using upper
threshold
PS3000A_RISING_LOWER
for threshold triggers: rising edge, using lower
threshold
PS3000A_FALLING
for threshold triggers: falling edge, using upper
threshold
PS3000A_FALLING_LOWER
for threshold triggers: falling edge, using lower
threshold
PS3000A_RISING_OR_FALLING
for threshold triggers: either edge
PS3000A_INSIDE
for window-qualified triggers: inside window
PS3000A_OUTSIDE
for window-qualified triggers: outside window
PS3000A_ENTER
for window triggers: entering the window
PS3000A_EXIT
for window triggers: leaving the window
PS3000A_ENTER_OR_EXIT
for window triggers: either entering or leaving
the window
PS3000A_POSITIVE_RUNT
for window-qualified triggers
PS3000A_NEGATIVE_RUNT
for window-qualified triggers
PS3000A_NONE
no trigger