Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 6229 counter to generate pulse

Hi,

 

I am trying to generate a pulse width using the PXI-6229 counter by giving the frequency and dutycycle. For this, the methods i have used are:

          DAQmxCreateCOPulseChanFreq(...)

          DAQmxWriteCtrFreq(...)

 

However, in NI egs at CVI\Samples\DAQmx\Counter\Generate Pulse\Dig Pulse Train-Cont I have noticed there is no call to DAQmxWriteCtrFreq(...) but still the pulses are generated. How is it? Did i miss out anything?

In the NI eg they just call:

          DAQmxCreateCOPulseChanFreq(...)

          DAQmxCfgImplicitTiming(....)

 

Kindly tell me the solution.

 

Thanks,

Priya.         

0 Kudos
Message 1 of 1
(2,698 Views)