From SweepMe! Wiki
Jump to: navigation, search

Last update for: Version

MakeFile is the essential Module to control file generation, file names, and file filling.

The position of MakeFile in the sequencer determines how many files are created:

  • For each variation above MakeFile a new file is generated.
  • Each variation below MakeFile is written into the last generated file.
  • For each branch of the sequencer below MakeFile separate files are generated, because each Branch could have a different data structure.
  • Each file has an ID which can be changed by double-clicking the MakeFile item in the sequencer.
  • The ID is necessary to make sure that no file is generated twice and that the sequence of the generated files can be recovered.
  • The ID consists of a number related to the branch in the sequencer and an ongoing index for each file. "ID2-1" means second branch of the sequencer, first file. "ID4-2" would mean forth branch of the sequencer, second file.

Each file has the same structure with 4 header lines:

  • 1st header line: Module label + variable
  • 2nd header line: Unit
  • 3rd header line: empty

Then, the data comes and the order of columns is related to the order of Modules in the Branch for which the file is saved. Thus, you can change the order of columns be changing the order of Modules in the sequencer (as long it does not change your sweep procedure).

The first two columns are always related to the invisible root Module of the sequencer being Time and this behavior cannot be changed, yet.

The setting of your measurement is not saved in the data files but in a separate ".set" file in which all elements of the graphical user interface are stored. That way, data files have always the same structure.

To see how to read in data files, please follow this link: Loading data files.