LoggingMode Enumeration

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

See Also


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: 17.1.40.99

Syntax

Visual Basic (Declaration)
Public Enumeration LoggingMode

C#
public enum LoggingMode

Members

Member nameDescription
LogEnable 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.
LogAndReadEnable 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.
OffDisable logging for the task.

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

Reference

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful