From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,697 Views)