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

Syntax

Visual Basic (Declaration)
Public Enumeration WriteWaitMode

C#
public enum WriteWaitMode

Members

Member nameDescription
PollRepeatedly check for available buffer space as fast as possible. This mode allows for the highest sampling rates at the expense of CPU efficiency.
SleepCheck for available buffer space once per the amount of time specified in WriteSleepTime.
YieldRepeatedly 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.

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

Reference

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful