Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Solved!
Go to solution

Hi.

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
(1,784 Views)
Solution
Accepted by topic author 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

CAUTION! New LabVIEW adopters -- it's too late for me, but you *can* save yourself. The new subscription policy for LabVIEW puts NI's hand in your wallet for the rest of your working life. Are you sure you're *that* dedicated to LabVIEW? (Summary of my reasons in this post, part of a voluminous thread of mostly complaints starting here).
Message 2 of 3
(1,725 Views)

Many thanks Kevin 🙂

 

I got it now

0 Kudos
Message 3 of 3
(1,704 Views)