Advanced:Wait Mode Property

NI-DAQmx Properties

Advanced:Wait Mode Property

Short Name: WaitMode

Property of DAQmx Read

Specifies how DAQmx Read waits for samples to become available.

Wait For Interrupt (12523) 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.
Poll (12524) Repeatedly check for available samples as fast as possible. This mode allows for the highest sampling rates at the expense of CPU efficiency.
Yield (12525) 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.
Sleep (12547) Check for available samples once per the amount of time specified in SleepTime.

Remarks

The following table lists the characteristics of this property.

Permissionsread/write
Resettableyes
Settable while task is runningdevice-specific
Available in Run-Time Engineyes