How Can I Output A PWM Signal Using DAQmx?

Updated Jun 8, 2018

Reported In


  • USB-6363
  • USB-6211
  • cDAQ-9133


  • LabVIEW


  • NI-DAQmx

Issue Details

I am looking to use my DAQ device and LabVIEW to output a Pulse Width Modulation (PWM) signal. How can I do this and where can I find an example documentation?


To output a PWM signal from your device you will need to set up a counter output task. An introduction to PWM and starting examples can be found here.

Additional Information

The information in this document is applicable to any DAQmx devices which feature at least one hardware counter and an available PFI line. These include E, S, M and X series devices.

PWM examples for other devices, such as CompactRIO, can be found as LabVIEW shipping examples.  To find these, open LabVIEW and select Help >> Find Examples, then click on the Search tab and type PWM into the keyword field.


Not Helpful