
API functions80
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved.ps4000apg.en r1
4.53.1
PS4000A_DIRECTION structure
A structure of this type is passed to ps4000aSetTriggerChannelDirections in
the directions argument to specify the trigger direction for a specified source, and
is defined as follows: -
typedef struct tPS4000ADirection
{
PS4000A_CHANNEL channel;
PS4000A_THRESHOLD_DIRECTION direction;
} PS4000A_DIRECTION;
Each structure is the logical AND of the states of the scope's inputs. The
ps4000aSetTriggerChannelDirections function can OR together a number of
these structures to produce the final trigger condition, which can be any possible
Boolean function of the scope's inputs.
channel, the channel being configured. See ps4000aSetChannel for allowable
values.
direction, the trigger direction that should be applied to each channel. Use one of
these constants:
above the upper threshold
above the lower threshold
below the upper threshold
below the lower threshold
rising edge, using upper threshold
rising edge, using lower threshold
falling edge, using upper threshold
falling edge, using lower threshold
PS4000A_RISING_OR_FAL
LING
either entering or leaving the window
entering and leaving from below
entering and leaving from above
Komentarze do niniejszej Instrukcji