User Manual
PicoScope 4000 Series Programmer's Guide 83
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved. ps4000pg.en
4.10.55.1
TRIGGER_CHANNEL_PROPERTIES structure
A structure of this type is passed to ps4000SetTriggerChannelProperties in the
channelProperties argument to specify the trigger mechanism, and is defined as
follows: -
typedef struct tTriggerChannelProperties
{
short thresholdUpper;
unsigned short thresholdUpperHysteresis;
short thresholdLower;
unsigned short thresholdLowerHysteresis;
PS4000_CHANNEL channel;
THRESHOLD_MODE thresholdMode;
} TRIGGER_CHANNEL_PROPERTIES
Elements
thresholdUpper, the upper threshold at which the trigger must
fire. This is scaled in 16-bit ADC counts at the currently selected
range for that channel.
thresholdUpperHysteresis, the hysteresis by which the trigger
must exceed the upper threshold before it will fire. It is scaled in 16-
bit counts.
thresholdLower, the lower threshold at which the trigger must
fire. This is scaled in 16-bit ADC counts at the currently selected
range for that channel.
thresholdLowerHysteresis, the hysteresis by which the trigger
must exceed the lower threshold before it will fire. It is scaled in 16-
bit counts.
channel, the channel to which the properties apply. See
ps4000SetChannel for possible values.
thresholdMode, either a level or window trigger. Use one of these
constants: -
LEVEL
WINDOW