Advanced >> Wait Mode
- Updated2023-03-16
- 1 minute(s) read
Advanced >> Wait Mode
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