Advanced >> Wait Mode
Data Type: | int32 |
Description: | Specifies how an NI-DAQmx Read function waits for samples to become available. |
Valid values
DAQmx_Val_WaitForInterrupt | 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. |
DAQmx_Val_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. |
DAQmx_Val_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. |
DAQmx_Val_Sleep | 12547 | Check for available samples once per the amount of time specified in Sleep Time. |
You can get/set/reset this property using:
DAQmxGetReadWaitMode
DAQmxSetReadWaitMode
DAQmxResetReadWaitMode