Indicate whether data is being logged to memory or disk file
Note: You cannot use the legacy interface on 64–bit MATLAB®. See Session-Based Interface to acquire and generate data.
Along with the Running property, Logging reflects the state of an analog input object. Logging can be On or Off.
Logging is automatically set to On when a trigger occurs. When Logging is On, acquired data is being stored in memory or to a disk file.
Logging is automatically set to Off when the requested samples are acquired, an error occurs, or a stop function is issued. When Logging is Off, you can still preview data with the peekdata function provided Running is On. However, peekdata does not guarantee that all the requested data is returned.
To guarantee that acquired data contains no gaps, is must be logged to memory or to a disk file. Data stored in memory is extracted with the getdata function, while data stored to disk is returned with the daqread function. The destination for logged data is controlled with the LoggingMode property.
AI, common to all channels
Read-only when running