Programmer's reference
31
Copyright © 2007 Pico Technology Limited. All rights reserved.
ps3425.en
3.2.8.12 ps3000SetAdvTriggerChannelDirections
short ps3000SetAdvTriggerChannelDirections(
short handle,
THRESHOLD_DIRECTION channelA,
THRESHOLD_DIRECTION channelB,
THRESHOLD_DIRECTION channelC,
THRESHOLD_DIRECTION channelD,
THRESHOLD_DIRECTION ext);
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,
all specify the
direction in which the signal must pass through the threshold to
activate the trigger. The allowable values for a
THRESHOLD_DIRECTION
variable are listed in the table below.
ext,
not used
Returns
0
if unsuccessful, or if one or more of the arguments are out of
range
1
if successful
THRESHOLD_DIRECTION constants
ABOVE
for gated triggers: above a threshold
BELOW
for gated triggers: below a threshold
RISING
for threshold triggers: rising edge
FALLING
for threshold triggers: falling edge
RISING_OR_FALLING
for threshold triggers: either edge
INSIDE
for window-qualified triggers: inside window
OUTSIDE
for window-qualified triggers: outside window
ENTER
for window triggers: entering the window
EXIT
for window triggers: leaving the window
ENTER_OR_EXIT
for window triggers: either entering or leaving the window
NONE
no trigger
Summary of Contents for PicoScope 3425
Page 2: ......
Page 66: ......
Page 67: ...63 Copyright 2007 Pico Technology Limited All rights reserved ps3425 en ...