NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

LoggingMode Enumeration

LoggingMode Enumeration

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 nameValueDescription
Off10231Disable logging for the task.
Log15844Enable 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.
LogAndRead15842Enable 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.

See Also

Was this information helpful?