File MIES_SweepFormula_Executor.ipf

SFE Sweep formula Executor executes a parsed sweep formula

Functions

wave SFE_ExecuteFormula(string formula, string graph, variable singleResult = defaultValue, variable checkExist = defaultValue, variable useVariables = defaultValue)

Executes a given formula without changing the current SweepFormula notebook supports by default variable assignments does not support “with” and “and” keywords.

Parameters:
  • formula – formula string to execute

  • graph – name of databrowser window

  • singleResult – [optional, default 0], if set then the first dataSet is retrieved from the waveRef wave and returned, the waveRef wave is disposed

  • checkExist – [optional, default 0], only valid if singleResult=1, if set then the data wave in the single dataSet retrieved must exist

  • useVariables – [optional, default 1], when not set, hint the function that the formula string contains only an expression and no variable definitions

string SFE_ExecuteVariableAssignments(string graph, string preProcCode)
static wave SFE_FormulaExecutorStringOrVariable(SF_ExecutionData *exd)
static wave SFE_ConvertNonFiniteElements(WaveText subArray)
static variable SFE_ConvertNonFiniteElementsImpl(string element)
static std::tuple<WAVE, WaveText> SFE_ExecutorCreateOrCheckNumeric(WaveDoubleOrNull out, WaveTextOrNull outT, variable size0, variable size1, variable size2, variable size3)
static std::tuple<WAVE, WaveText> SFE_ExecutorCreateOrCheckTextual(WaveOrNull out, WaveTextOrNull outT, variable size0, variable size1, variable size2, variable size3)
static variable SFE_PlaceSubArrayAt(WaveOrNull out, WaveOrNull subArray, variable index)

Variables

static const double SFE_VARIABLE_PREFIX = 36