Specifies how reading from the task waits for samples to become available.

Syntax

Namespace: NationalInstruments.DAQmx

public enum ReadWaitMode

Remarks

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

Members

NameValueDescription
WaitForInterrupt12523

Check 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.

Poll12524

Repeatedly check for available samples as fast as possible. This mode allows for the highest sampling rates at the expense of CPU efficiency.

Yield12525

Repeatedly check for available samples, but yield control to other threads after each check. This mode offers a balance between sampling rate and CPU efficiency.

Sleep12547

Check for available samples once per the amount of time specified in ReadSleepTime.