Counter Output >> General Properties >> More >> Advanced >> Data Transfer and Memory >> Data Transfer Mechanism

NI-DAQmx C Reference Help

Edition Date: January 2019

Part Number: 370471AM-01

»View Product Info
Download Help (Windows Only)
Data Type: int32
Description: Specifies the data transfer mode for the device. For buffered operations, use DMA or USB Bulk. For non-buffered operations, use Polled.


Valid values

DAQmx_Val_DMA 10054 Direct Memory Access. Data transfers take place independently from the application.
DAQmx_Val_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.
DAQmx_Val_ProgrammedIO 10264 Data transfers take place when you call an NI-DAQmx Read function or an NI-DAQmx Write function.
DAQmx_Val_USBbulk 12590 Data transfers take place independently from the application using a USB bulk pipe.



You can get/set/reset this property using:

  DAQmxGetCODataXferMech

  DAQmxSetCODataXferMech

  DAQmxResetCODataXferMech

WAS THIS ARTICLE HELPFUL?

Not Helpful