NI-DAQmx .NET Framework 4.5 API Reference

WriteWaitMode Enumeration

  • Updated2023-02-21
  • 1 minute(s) read
WriteWaitMode Enumeration
Specifies how writing to the task waits for space to become available in the buffer.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302

Syntax

public enum WriteWaitMode
Public Enumeration WriteWaitMode

Members

  Member nameValueDescription
Poll12524Repeatedly check for available buffer space as fast as possible. This mode allows for the highest sampling rates at the expense of CPU efficiency.
Yield12525Repeatedly check for available buffer space, but yield control to other threads after each check. This mode offers a balance between sampling rate and CPU efficiency.
Sleep12547Check for available buffer space once per the amount of time specified in WriteSleepTime.

Remarks

Specifies how writing to the task waits for space to become available in the buffer. Use this enumeration to get or set the value of WriteWaitMode.

See Also

Log in to get a better experience