User Manual
Programming with the PicoScope 4000 Series80
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
4.10.53.1
TRIGGER_CONDITIONS structure
A structure of this type is passed to ps4000SetTriggerChannelConditions in the
conditions argument to specify the trigger conditions, and is defined as follows: -
typedef struct tTriggerConditions
{
TRIGGER_STATE channelA;
TRIGGER_STATE channelB;
TRIGGER_STATE channelC;
TRIGGER_STATE channelD;
TRIGGER_STATE external;
TRIGGER_STATE aux;
TRIGGER_STATE pulseWidthQualifier;
} TRIGGER_CONDITIONS
Each structure is the logical AND of the states of the scope's inputs. The
ps4000SetTriggerChannelConditions 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.
Elements
channelA, channelB, channelC, channelD,
pulseWidthQualifier, the type of condition that should be
applied to each channel. Use these constants: -
CONDITION_DONT_CARE
CONDITION_TRUE
CONDITION_FALSE
The channels that are set to CONDITION_TRUE or
CONDITION_FALSE must all meet their conditions simultaneously
to produce a trigger. Channels set to CONDITION_DONT_CARE are
ignored.
external, aux, not used