Installation guide

API functions82
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved.ps4000apg.en r1
4.54.1
PS4000A_TRIGGER_CHANNEL_PROPERTIES structure
A structure of this type is passed to ps4000aSetTriggerChannelProperties in
the channelProperties argument to specify the trigger mechanism, and is defined
as follows:
typedef struct tPS4000ATriggerChannelProperties
{
int16_t thresholdUpper;
uint16_t thresholdUpperHysteresis;
int16_t thresholdLower;
uint16_t thresholdLowerHysteresis;
PS4000A_CHANNEL channel;
PS4000A_THRESHOLD_MODE thresholdMode;
} PS4000A_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
ps4000aSetChannel for possible values.
thresholdMode, either a level or window trigger. Use one of these
constants:
PS4000A_LEVEL
PS4000A_WINDOW