LoggingMode Enumeration
- Updated2023-02-21
- 1 minute(s) read
LoggingMode Enumeration
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.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public enum LoggingMode
Public Enumeration LoggingMode
Members
Member name | Value | Description | |
---|---|---|---|
Off | 10231 | Disable logging for the task. | |
Log | 15844 | Enable logging for the task. You cannot read data using reading from the task when using this mode. If you require access to the data, read from the TDMS file. | |
LogAndRead | 15842 | Enable both logging and reading data for the task. You must use reading from the task to read samples for NI-DAQmx to stream them to disk. |
Remarks
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. Use this enumeration to get or set the value of LoggingMode.