User manual

Programming with the PicoScope 6000 Series96
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved.ps6000pg.en r9
PS6000_SIGGEN_GATE_HIGH,
PS6000_SIGGEN_GATE_LOW
} PS6000_SIGGEN_TRIG_TYPE;
typedef enum enPS6000SigGenTrigSource
{
PS6000_SIGGEN_NONE,
PS6000_SIGGEN_SCOPE_TRIG,
PS6000_SIGGEN_AUX_IN,
PS6000_SIGGEN_EXT_IN,
PS6000_SIGGEN_SOFT_TRIG,
PS6000_SIGGEN_TRIGGER_RAW
} PS6000_SIGGEN_TRIG_SOURCE;
typedef enum enPS6000IndexMode
{
PS6000_SINGLE,
PS6000_DUAL,
PS6000_QUAD,
PS6000_MAX_INDEX_MODES
} PS6000_INDEX_MODE;
typedef enum enPS6000ThresholdMode
{
PS6000_LEVEL,
PS6000_WINDOW
} PS6000_THRESHOLD_MODE;
typedef enum enPS6000ThresholdDirection
{
PS6000_ABOVE,
PS6000_BELOW,
PS6000_RISING,
PS6000_FALLING,
PS6000_RISING_OR_FALLING,
PS6000_ABOVE_LOWER,
PS6000_BELOW_LOWER,
PS6000_RISING_LOWER,
PS6000_FALLING_LOWER,
// Windowing using both thresholds
PS6000_INSIDE = PS6000_ABOVE,
PS6000_OUTSIDE = PS6000_BELOW,
PS6000_ENTER = PS6000_RISING,
PS6000_EXIT = PS6000_FALLING,
PS6000_ENTER_OR_EXIT = PS6000_RISING_OR_FALLING,
PS6000_POSITIVE_RUNT = 9,
PS6000_NEGATIVE_RUNT,
// no trigger set
PS6000_NONE = PS6000_RISING
} PS6000_THRESHOLD_DIRECTION;
typedef enum enPS6000TriggerState
{
PS6000_CONDITION_DONT_CARE,
PS6000_CONDITION_TRUE,
PS6000_CONDITION_FALSE,
PS6000_CONDITION_MAX
} PS6000_TRIGGER_STATE;
typedef enum enPS6000RatioMode
{
PS6000_RATIO_MODE_NONE,
PS6000_RATIO_MODE_AGGREGATE = 1,
PS6000_RATIO_MODE_AVERAGE = 2,
PS6000_RATIO_MODE_DECIMATE = 4,
PS6000_RATIO_MODE_DISTRIBUTION = 8
} PS6000_RATIO_MODE;
typedef enum enPS6000PulseWidthType
{
PS6000_PW_TYPE_NONE,
PS6000_PW_TYPE_LESS_THAN,
PS6000_PW_TYPE_GREATER_THAN,
PS6000_PW_TYPE_IN_RANGE,
PS6000_PW_TYPE_OUT_OF_RANGE
} PS6000_PULSE_WIDTH_TYPE;