File MIES_MiesUtilities_Getter.ipf

This file holds MIES utility functions that get names/objects.

Functions

wave GetConfigWave(wave sweepWave)

Returns the config wave for a given sweep wave.

wave GetSweepWave(string device, variable sweepNo)

Returns the, possibly non existing, sweep data wave for the given sweep number There are two persistent formats how sweep data is stored.

The current format is: The sweep wave is a 1D text wave. Each entry contains the relative path to a single channel wave, including the wave name. The reference data folder for the relative path is the data folder where the sweep wave is located. The number of rows of the sweep wave equals the number of columns of the config wave and indexes the channels. Thus, the sweep wave can not be a free wave.

The deprecated format is: A 2D numeric wave, where the rows are the sample points and the columns the sweep channels. In that format all channels have the same number of points and the same sample interval. The sample interval is saved a ROW DimDelta. The number of columns equals the number of columns of the config waves and indexes the channels.

Intermediate sweep wave format: Intermediate sweep format is used in some parts of MIES, e.g. NWB saving as it is easier to handle. The sweep wave is a wave reference wave, where each element refers to a channel. It can be a free wave. The number of rows of the sweep wave equals the number of columns of the config wave and indexes the channels. To convert a text sweep wave to a waveRef sweep wave use TextSweepToWaveRef The programmer has to consider if pure references to channels are good enough (TextSweepToWaveRef) or if the channels should be duplicated.

string GetConfigWaveName(variable sweepNo)

Return the config wave name.

string GetSweepWaveName(variable sweepNo)

Return the sweep wave name.

string GetNIFIFOName(variable deviceID)

constructs a fifo name for NI device ADC operations from the deviceID

UTF_NOINSTRUMENTATION

string GetMIESVersionAsString()

Return the MIES version with canonical EOLs.

variable GetAnalysisFunctionVersion(variable type)

Return the current version of the analysis functions.

std::tuple<WAVE, WAVE> GetSweepAndConfigWaveFromDevice(string device, variable sweepNo)
string GetWorkLoadName(string workload, string device)