File MIES_MiesUtilities_System.ipf

This file holds MIES utility functions related to the system.

Functions

variable SetupBackgroundTasks()
variable SaveExperimentSpecial(variable mode)

Save the current experiment under a new name and clear all/some data.

Parameters:

mode – mode for generating the experiment name, one of SaveExperimentModes

variable SaveExperimentWrapper(string path, string filename, variable overrideInteractiveMode = defaultValue)

Returns 1 if the user cancelled, zero if SaveExperiment was called.

It is currently not possible to check if SaveExperiment was successfull (E-Mail from Howard Rodstein WaveMetrics, 30 Jan 2015)

Parameters:
  • path – Igor symbolic path where the experiment should be stored

  • filename – filename of the experiment including suffix, usually PACKED_FILE_EXPERIMENT_SUFFIX

  • overrideInteractiveMode – [optional, defaults to GetInteractiveMode()] Overrides the current setting of the interactive mode

variable NewExperiment()

Starts with a new experiment.

You have to manually save before, see SaveExperimentWrapper()

variable TestOverrideActive()

Return if the function results are overriden for testing purposes.

variable HandleOutOfMemory(string device, string name)