User Manual
Programming with the PicoScope 4000 Series88
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
4.11
Enumerated types and constants
The following types and constants are defined in the file ps4000Api.h, which is
included in the SDK.
#define PS4000_MAX_OVERSAMPLE_12BIT 16
#define PS4000_MAX_OVERSAMPLE_8BIT 256
#define PS4XXX_MAX_ETS_CYCLES 400
#define PS4XXX_MAX_INTERLEAVE 80
#define PS4000_MAX_VALUE 32764
#define PS4000_MIN_VALUE -32764
#define PS4000_LOST_DATA -32768
#define PS4262_MAX_VALUE 32767
#define PS4262_MIN_VALUE -32767
#define PS4000_EXT_MAX_VALUE 32767
#define PS4000_EXT_MIN_VALUE -32767
#define MAX_PULSE_WIDTH_QUALIFIER_COUNT 16777215L
#define MAX_DELAY_COUNT 8388607L
#define MIN_SIG_GEN_FREQ 0.0f
#define MAX_SIG_GEN_FREQ 100000.0f
#define MAX_SIG_GEN_FREQ_4262 20000.0f
#define MAX_SIG_GEN_BUFFER_SIZE 8192
#define MIN_SIG_GEN_BUFFER_SIZE 10
#define MIN_DWELL_COUNT 10
#define MAX_SWEEPS_SHOTS ((1 << 30) - 1)
typedef enum enChannelBufferIndex
{
PS4000_CHANNEL_A_MAX,
PS4000_CHANNEL_A_MIN,
PS4000_CHANNEL_B_MAX,
PS4000_CHANNEL_B_MIN,
PS4000_CHANNEL_C_MAX,
PS4000_CHANNEL_C_MIN,
PS4000_CHANNEL_D_MAX,
PS4000_CHANNEL_D_MIN,
PS4000_MAX_CHANNEL_BUFFERS
} PS4000_CHANNEL_BUFFER_INDEX;
typedef enum enPS4000Channel
{
PS4000_CHANNEL_A,
PS4000_CHANNEL_B,
PS4000_CHANNEL_C,
PS4000_CHANNEL_D,
PS4000_EXTERNAL,
PS4000_MAX_CHANNELS = PS4000_EXTERNAL,
PS4000_TRIGGER_AUX,
PS4000_MAX_TRIGGER_SOURCES
} PS4000_CHANNEL;