CODataTransferMechanism Enumeration
- Updated2023-02-21
- 1 minute(s) read
CODataTransferMechanism Enumeration
Specifies the data transfer mode for the device. For buffered operations, use DMA or USB Bulk. For non-buffered operations, use Polled.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public enum CODataTransferMechanism
Public Enumeration CODataTransferMechanism
Members
Member name | Value | Description | |
---|---|---|---|
Dma | 10054 | Direct Memory Access. Data transfers take place independently from the application. | |
Interrupts | 10204 | Data transfers take place independently from the application. Using interrupts increases CPU usage because the CPU must service interrupt requests. Typically, you should use interrupts if the device is out of DMA channels. | |
ProgrammedIO | 10264 | Data transfers take place when you call reading from the task or writing to the task. | |
UsbBulk | 12590 | Data transfers take place independently from the application using a USB bulk pipe. |
Remarks
Specifies the data transfer mode for the device. For buffered operations, use DMA or USB Bulk. For non-buffered operations, use Polled. Use this enumeration to get or set the value of DataTransferMechanism.