File MIES_MiesUtilities_Checks.ipf

This file holds MIES utility functions for checks.

Functions

variable IsValidEpochNumber(variable epochNo)

Check if the given epoch number is valid.

variable IsValidSweepAndConfig(WaveOrNull sweep, WaveOrNull config, variable configVersion = defaultValue)

Check if the two waves are valid and compatible.

Parameters:
  • sweep – sweep wave

  • config – config wave

  • configVersion – [optional, defaults to DAQ_CONFIG_WAVE_VERSION] minimum required version of the config wave

variable IsValidSamplingMultiplier(variable multiplier)

Check if the given multiplier is a valid sampling interval multiplier.

UTF_NOINSTRUMENTATION

variable IsValidHeadstage(variable headstage)

Check if the given headstage index is valid.

UTF_NOINSTRUMENTATION