Wait For Next Sample Clock Wait Mode

NI-DAQmx C Properties

Wait For Next Sample Clock Wait Mode

Data Type: int32
Description: Specifies how DAQmxWaitForNextSampleClock() waits for the next Sample Clock pulse.

Valid values

DAQmx_Val_WaitForInterrupt 12523 Check for Sample Clock pulses when the system receives an interrupt service request. This mode is the most CPU efficient, but results in lower possible sampling rates.
DAQmx_Val_Poll 12524 Repeatedly check for Sample Clock pulses 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 Sample Clock pulses, but yield control to other threads after each check. This mode offers a balance between sampling rate and CPU efficiency.


You can get/set/reset this property using:
  DAQmxGetRealTimeWaitForNextSampClkWaitMode
  DAQmxSetRealTimeWaitForNextSampClkWaitMode
  DAQmxResetRealTimeWaitForNextSampClkWaitMode