LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx create channel vs DAQmx write

Solved!
Go to solution

Hi,

 

I am trying to generate a PWM using 6211. 

 

I am using DAQmx create channel.vi to create a physical channel on my device and DAQmx write.vi to set the frequency and duty cycle.

 

I see the frequency and duty cycle can also be set using DAQmx create channel.vi.

 

Can I please know the difference between setting frequency and duty cycle on DAQmx create channel and DAQmx write. 

 

 

0 Kudos
Message 1 of 2
(2,368 Views)
Solution
Accepted by topic author VikashKumar23


Basically the parameters in the create VI are for initialization before you run the 'start daqmx task' and your hardware begins generating the PWM signal, the Write VI is for changes while the hardware is operational

 

Does this answer your question?

0 Kudos
Message 2 of 2
(2,358 Views)