WriteWaitMode Enumeration
- 已更新2023-02-21
- 閱讀時間為 1 分鐘
Specifies how writing to the task waits for space to become available in the buffer.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302
Syntax
public enum WriteWaitMode
Public Enumeration WriteWaitMode
Members
| Member name | Value | Description | |
|---|---|---|---|
| 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. | |
| 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. | |
| Sleep | 12547 | Check for available buffer space once per the amount of time specified in WriteSleepTime. |
Remarks
Specifies how writing to the task waits for space to become available in the buffer. Use this enumeration to get or set the value of WriteWaitMode.