User Manual
PicoScope 4000 Series Programmer's Guide 91
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved. ps4000pg.en
 PS4000_HALF_SINE,
 PS4000_DC_VOLTAGE,
 PS4000_WHITE_NOISE,
 MAX_WAVE_TYPES
} WAVE_TYPE;
typedef enum enSigGenTrigType
{
 SIGGEN_RISING,
 SIGGEN_FALLING,
 SIGGEN_GATE_HIGH,
 SIGGEN_GATE_LOW
} SIGGEN_TRIG_TYPE;
typedef enum enSigGenTrigSource
{
 SIGGEN_NONE,
 SIGGEN_SCOPE_TRIG,
 SIGGEN_AUX_IN,
 SIGGEN_EXT_IN,
 SIGGEN_SOFT_TRIG
} SIGGEN_TRIG_SOURCE;
typedef enum enIndexMode
{
 SINGLE,
 DUAL,
 QUAD,
 MAX_INDEX_MODES
} INDEX_MODE;
typedef enum enThresholdMode
{
 LEVEL,
 WINDOW
} THRESHOLD_MODE;
typedef enum enThresholdDirection
{
 ABOVE,  // using upper threshold
 BELOW, 
 RISING,  // using upper threshold
 FALLING,  // using upper threshold
 RISING_OR_FALLING, // using both threshold
 ABOVE_LOWER, // using lower threshold
 BELOW_LOWER, // using lower threshold
 RISING_LOWER, // using upper threshold
 FALLING_LOWER, // using upper threshold
 // Windowing using both thresholds
 INSIDE = ABOVE, 
 OUTSIDE = BELOW,
 ENTER = RISING, 
 EXIT = FALLING, 
 ENTER_OR_EXIT = RISING_OR_FALLING,
 POSITIVE_RUNT = 9,
 NEGATIVE_RUNT,
 // no trigger set










