Advanced >> Wait Mode

NI-DAQmx C Reference Help

Edition Date: January 2019

Part Number: 370471AM-01

»View Product Info
Download Help (Windows Only)
Data Type: int32
Description: Specifies how an NI-DAQmx Write function waits for space to become available in the buffer.


Valid values

DAQmx_Val_Poll 12524 Repeatedly check for available buffer space as fast as possible. This mode allows for the highest sampling rates at the expense of CPU efficiency.
DAQmx_Val_Yield 12525 Repeatedly 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.
DAQmx_Val_Sleep 12547 Check for available buffer space once per the amount of time specified in Sleep Time.



You can get/set/reset this property using:

  DAQmxGetWriteWaitMode

  DAQmxSetWriteWaitMode

  DAQmxResetWriteWaitMode

WAS THIS ARTICLE HELPFUL?

Not Helpful