API Functions40
Copyright © 2006–2016 Pico Technology Ltd. All rights reserved.ps2000pg.en r11
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
See ps2000SetAdvTriggerChannelProperties
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)