Logical Flags

The following flags are binary set. One or more of them can apply at the same time.

Equal Wave Flags

These flags are used in CHECK_EQUAL_WAVES()

const variable DATA_FULL_SCALE = 256
const variable DATA_UNITS = 8
const variable DIMENSION_LABELS = 32
const variable DIMENSION_SIZES = 512
const variable DIMENSION_UNITS = 16
const variable WAVE_DATA = 1
const variable WAVE_DATA_TYPE = 2
const variable WAVE_LOCK_STATE = 128
const variable WAVE_NOTE = 64
const variable WAVE_SCALING = 4

Test Wave Flags

The following flags are used in CHECK_WAVE(). Note that there is a minor and a major wave type.

General

const variable NULL_WAVE = 0x00

MajorType

const variable DATAFOLDER_WAVE = 0x04
const variable FREE_WAVE = 0x20
const variable NORMAL_WAVE = 0x10
const variable NUMERIC_WAVE = 0x01
const variable TEXT_WAVE = 0x02
const variable WAVE_WAVE = 0x08

MinorType

const variable COMPLEX_WAVE = 0x01
const variable DOUBLE_WAVE = 0x04
const variable FLOAT_WAVE = 0x02
const variable INT16_WAVE = 0x10
const variable INT32_WAVE = 0x20
const variable INT64_WAVE = 0x80
const variable INT8_WAVE = 0x08
const variable UNSIGNED_WAVE = 0x40