Data Acquisition Toolbox    
LogFileName

Specify the name of the disk file to which information is logged

Description

You can log acquired data, device object property values and event information, and hardware information to a disk file by setting the LoggingMode property to Disk or Disk&Memory.

You can specify any value for LogFileName as long as it conforms to the MATLAB naming conventions: the name cannot start with a number and cannot contain spaces. If no extension is specified as part of LogFileName, then daq is used. The default value for LogFileName is logfile.daq.

You can choose whether an output file is overwritten or if multiple log files are created with the LogToDiskMode property. Setting LogToDiskMode to Overwrite causes the output file to be overwritten. Setting LogToDiskMode to Index causes new data files to be created, each with an indexed name based on the value of LogFileName.

Characteristics

Usage
AI, Common
Access
Read/write
Data type
String
Read-only when running
Yes

Values

The default value is logfile.daq.

See Also

Properties

Logging, LoggingMode, LogToDiskMode


  LineName Logging