FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change the duty cycle of cFP-PWM-520 module?

Hi

     How can I change the duty cycle when a signal is generated by the compact FieldPoint module cFP-PWM-520?, I can control the period, but the ON time of the signal is not user selectable in the MAX channel attribute, only period(ms) is shown.

 

Thanks for your help.

 

Regards

 

 Peter

0 Kudos
Message 1 of 4
(6,481 Views)

Peter,

 

Duty cycle can't be controlled using channel config in MAX.  Can only be controlled by writing a value to the I/O.  See page 7 of this http://www.ni.com/pdf/manuals/323357b.pdf

0 Kudos
Message 2 of 4
(6,473 Views)
Thanks Wayne, what would be the sintax to be used when writing to the Channel a change on duty cycle?
0 Kudos
Message 3 of 4
(6,467 Views)
I don't have a 520 in to test but since the input range is defined  as 0-100%, I would assume that you write an integer in the range of 0 - 100 to the particular PWM ouput you want to change.
0 Kudos
Message 4 of 4
(6,465 Views)