Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 
LogToDiskMode    See Also

LogToDiskMode specifies whether data and events are saved to one disk file or multiple disk files. If LogToDiskMode is set to Overwrite, then the output 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 the disk file name follows these rules:

If an error occurs during data logging, such as the disk fills up, an error message is returned and data logging is stopped.

Separate analog input objects must be logged to separate files. Data stored to a disk file can be returned to the MATLAB workspace with the daqread function.

Characteristics

Device Objects

AI
Class

Common
Access

Read/write
Data Type

Enumerated list
Modify while Running

No

Values

{Overwrite}
The log file is overwritten.
Index
Multiple log files are written, each with an indexed file name.

See Also

Properties

LogFileName, Logging, LoggingMode

Functions

daqread



[ Previous | Help Desk | Next ]