User Manual

Programming with the PicoScope 4000 Series72
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
4.10.49.1
PWQ_CONDITIONS structure
A structure of this type is passed to ps4000SetPulseWidthQualifier in the
conditions argument to specify the trigger conditions, and is defined as follows: -
typedef struct tPwqConditions
{
TRIGGER_STATE channelA;
TRIGGER_STATE channelB;
TRIGGER_STATE channelC;
TRIGGER_STATE channelD;
TRIGGER_STATE external;
TRIGGER_STATE aux;
} PWQ_CONDITIONS
Each structure is the logical AND of the states of the scope's inputs. The
ps4000SetPulseWidthQualifier function can OR together a number of these
structures to produce the final pulse width qualifier, which can be any possible
Boolean function of the scope's inputs.
Elements
channelA, channelB, channelC, channelD: 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