Specifies whether to enable logging and whether to allow reading data while logging. Log mode allows for the best performance. However, you cannot read data while logging if you specify this mode. If you want to read data while logging, specify Log and Read mode.

Remarks

The following table lists the characteristics of this property.

Short Name Logging.Mode
Data type ci32.png
Permissions Read/Write
Resettable True
Settable While Task Is Running device-specific
Available in Run-Time Engine True
Off 10231
Disable logging for the task.
Log 15844
Enable logging for the task. You cannot read data using DAQmx Read when using this mode. If you require access to the data, read from the TDMS file.
Log and Read 15842
Enable both logging and reading data for the task. You must use DAQmx Read to read samples for NI-DAQmx to stream them to disk.