DataImport

From SweepMe! Wiki
Jump to navigation Jump to search

The module DataImport loads measurement data files, e.g. files created by the software of other instruments. For each file type, a driver defines how the file is read and parsed into variables. Drivers are programmed as described in Driver Programming. A template driver "DataImport-DeviceClass_template" is available that can be copied to support further file types.

Usage

  • Driver: select the driver for your file type.
  • Sweep value: select "Sweep file" to import the file given in the field "Sweep file". Alternatively, select a variable of another module that returns file paths, e.g. the variable "Path" of the module LoadFiles to import several files one after the other.
  • Sweep file: the file to be imported. Use the button "Select" to choose it. The field is only enabled if "Sweep file" is selected as Sweep value.

The run stops with a message if the sweep value is not the path of an existing file.