Write Multiple Waveforms on Single DAQmx Analog Output Task

Updated May 10, 2018

Reported In

Hardware

  • Analog Output Device

Software

  • LabVIEW

Issue Details

I am using an M-Series DAQ card or another device that doesn't support multiple hardware-timed analog output tasks. Is there a way to write multiple signals out of one analog output task?

Solution

Yes, you can write multiple hardware-timed analog output signals on one DAQmx analog output task, provided they share the same sampling clock. The DAQmx Write function will accept arrays of data as an input, so you can wire in multiple signals and have the device output distinct waveforms across different channels.

The follow example shows how to use channel expansion to write 2 different signals out of 1 M-Series DAQ card. 

WAS THIS ARTICLE HELPFUL?

Not Helpful