| Data Acquisition Toolbox | Search  Help Desk |
| Logging | See Also |
Logging indicates whether data is logged. Data can be logged to memory and/or a disk file.
Logging must be On for acquired data to be saved to the MATLAB workspace. However, if you only want to check the validity of acquired data without saving it, you can use the peekdata or getsample functions and Logging can be Off. Logging is automatically set to On when a trigger occurs. Logging is set to Off when the requested samples are acquired, an error occurs, or a stop command is issued.
Events are logged to the EventLog property regardless of the state of the Logging property.
Characteristics
| Device Objects | AI |
| Class | Common |
| Access | Read-only |
| Data Type | Boolean |
| Modify while Running | N/A |
Values
On |
Acquired data is logged to memory and/or a disk file. |
{Off} |
Acquired data is not logged. |
See Also
Properties
LogFileName, LoggingMode, LogToDiskMode, Running