How Can I Continuously Write Data from my Multi-function DAQ Device?

Updated May 3, 2018

Reported In

Hardware

  • PCIe-6321
  • Multifunction I/O Device

Software

  • LabWindows/CVI
  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I am trying to write waveform data from my multi-function I/O device but am limited by the hardware buffer size on the device. How do I write my data continuously?

Solution

To write a waveform larger than the size of the hardware buffer on your device, use a loop architecture to break down the waveform data to appropriately sized sections, and continuously load and unload the buffer to achieve a continuous stream.

Additional Information

Although the loop architecture provides the functionality to continuously write waveform data, it is important to ensure that the architecture you are employing is able to meet your timing requirements as well as manages the hardware buffer on the device appropriately so as to ensure you avoid underflow/overflow errors.

WAS THIS ARTICLE HELPFUL?

Not Helpful