Multifunction DAQ

Showing results for 
Search instead for 
Did you mean: 

NI 9402/cDAQ9185 How to dynamic change a dutycycle of a fixed frequency output

Go to solution


I have a NI 9402 were I need to dynamically change the dutycycle "on the fly" on a predefined digital output frequency (up to 2kHz).


Is this possible with a cDAQ or will this require a cRIO solution?

0 Kudos
Message 1 of 3
Accepted by uf

You should be able to do this with a continuous counter pulse generation task using DAQmx on a cDAQ.  cRIO shouldn't be necessary.


You'd use one of the chassis counters and route its output to a DO pin.  Note that you may need to write both freq *and* duty cycle together to make the duty cycle change "take hold."   See this thread for more info.



-Kevin P

Message 2 of 3

Many thanks Kevin :-)


I got it now

0 Kudos
Message 3 of 3