LogToDiskMode - Specify whether data, events, and hardware information are saved to one or more disk files

Description

LogToDiskMode can be set to Overwrite or Index. If LogToDiskMode is set to Overwrite, then the log file is overwritten each time start is issued. If LogToDiskMode is set to Index, a different disk file is created each time start is issued and these rules are followed:

Separate analog input objects are logged to separate files. You can return data stored in a disk file to the MATLAB workspace with the daqread function. If an error occurs during data logging, an error message is returned and data logging is stopped.

Characteristics

Usage

AI, Common to all channels

Access

Read/write

Data type

String

Read-only when running

Yes

Values

Index

Multiple log files are written, each with an indexed filename based on the LogFileName property.

{Overwrite}

The log file is overwritten.

See Also

Functions

daqread

Properties

LogFileName, LoggingMode

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS