ReadWaitMode 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 reading from the task waits for samples to become available.

Namespace: NationalInstruments.DAQmx

Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 17.1.40.99

Syntax

Visual Basic (Declaration)
Public Enumeration ReadWaitMode

C#
public enum ReadWaitMode

Members

Member nameDescription
PollRepeatedly check for available samples as fast as possible. This mode allows for the highest sampling rates at the expense of CPU efficiency.
SleepCheck for available samples once per the amount of time specified in ReadSleepTime.
WaitForInterruptCheck for available samples when the system receives an interrupt service request. This mode is the most CPU efficient, but results in lower possible sampling rates.
YieldRepeatedly check for available samples, but yield control to other threads after each check. This mode offers a balance between sampling rate and CPU efficiency.

Remarks

Specifies how reading from the task waits for samples to become available. Use this enumeration to get or set the value of ReadWaitMode.

See Also

Reference

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful