API Functions
44
Copyright © 2006–2022 Pico Technology Ltd. All rights reserved.
ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.22.1
PS2000_TRIGGER_CHANNEL_PROPERTIES structure
A structure of this type is passed to
ps2000SetAdvTriggerChannelProperties
in the
channelProperties
argument to specify the trigger mechanism, and is defined as follows:
typedef struct tPS2000TriggerChannelProperties
{
int16_t
thresholdMajor;
int16_t
thresholdMinor;
uint16_t
hysteresis;
int16_t
channel;
PS2000_THRESHOLD_MODE
thresholdMode;
} PS2000_TRIGGER_CHANNEL_PROPERTIES
Applicability
ps2000SetAdvTriggerChannelProperties
Members
thresholdMajor
: the upper threshold at which the trigger event is to take
place. This is scaled in 16-bit ADC counts at the currently selected range for
that channel.
thresholdMinor
: the lower threshold at which the trigger event is to take
place. This is scaled in 16-bit ADC counts at the currently selected range for
that channel.
hysteresis
: the hysteresis that the trigger has to exceed before it will fire.
It is scaled in 16-bit counts.
channel
: the channel to which the properties apply
thresholdMode
: either a level or window trigger. Use one of these
constants:
LEVEL (0)
WINDOW (1)
Summary of Contents for PicoScope 2000 Series
Page 1: ...Programmer s Guide ps2000pg en 12 PC Oscilloscopes PicoScope 2000 Series ...
Page 2: ......
Page 67: ......