User Reference:NullFileWriter

From BCI2000 Wiki
Jump to: navigation, search

Contents

Function

The NullFileWriter component does not write brain signal data (Null File Format). Individual filters may still write log files to the directory defined by the DataDirectory, SubjectName, and SubjectSession parameters.

Parameters

Common Data Storage Parameters

These are storage parameters common to all Data File Formats.

DataDirectory

Path to an existing directory. Recorded data will be stored below that directory. The path may be absolute, or relative to the source module's working directory at startup. Usually, the working directory at startup matches the source module's executable location in the prog directory.

SubjectName

A textual ID for the subject. This text will appear in session directories, and data file names.

SubjectSession

A textual ID for the current session. Sessions correspond to data directories. The path of a session directory is constructed according to

{DataDirectory}/{SubjectName}{SubjectSession}

SubjectRun

A number indicating the current run. Runs correspond to data files. To avoid accidental loss of data, run numbers are auto-incremented to the largest unused value. Within a session directory, data file names are constructed according to

{SubjectName}S{SubjectSession}R{SubjectRun}

A data file's extension depends on its File Format.

ID_System, ID_Amp, ID_Montage

These parameters are provided for documentation purposes and may contain arbitrary text.

NullFileWriter Specific Parameters

SavePrmFile

Specifies whether there should be a parameter file created for each run. This parameter is optional, and will not appear in the parameter configuration dialog by default. To use it, specify --SavePrmFile=1 on the command line when starting up the source module.

States

None.

See also

User Reference:DataIOFilter, User Reference:Data File Formats, Programming Reference:GenericFileWriter Class

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox