NI-DAQmx .NET Framework 4.5 API Reference

DaqStream.LoggingMode Property

  • 更新时间2023-02-21
  • 阅读时长1分钟
DaqStream.LoggingMode Property
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.45.49302

Syntax

public LoggingMode LoggingMode { get; set; }
Public Property LoggingMode As LoggingMode
	Get
	Set

Property Value

Type: LoggingMode
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.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also