To implement PWM in NI-DAQmx, make sure you have investigated your hardware and the capabilities it has. This feature is only available in the modules that provide access to the chassis onboard counters. cDAQ – look at number of counters on chassis in the user manual.C Series - Check if your C Series modules can access the counters or timers on your CompactDAQ (cDAQ) chassis or controller's backplane.Software-Timed) or Hardware-Timed in the user manual Other Digital Modules – check if they are Static (i.e.E, S, M and X series devices – Look at user manual.Please refer to your hardware's datasheet to see how many counters are available on that device and whether it can support PWM. Counters are preferable for generating PWM output. The implementation of the PWM generation and the pulse counting depends on the hardware that you are using.