LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate a pwm whose duty cycle has to be varied depending on the frequency of the input trigger??

Sir/madam,

 

I am quite new to the Labview FPGA module. 

I am currently working on an application where i have to generate a pwm to control the ON time duration . The pwm ON time depends on the frequency of an input signal.I want to retrieve the ON time value from a lookup table which contain the duty cycle values for the pwm at different frequencies of the input.This input also has to work as a trigger. The input is pulsed and the trigger has to generate the pwm at every rising edge. I am using a PCI 7831R-  RIO series. I am urgently in need of some help and i have hardly a  couple of weeks before i meet the deadline.

I am trying hard to learn the basics from the shipping examples but not able to quite make my vi work. 

 

Kindly lend a helping hand and i would be very grateful to anybody who can help. Thanks a lot in advance.

 

Do ask in case of any clarifications required. I  think i have explained my problem quite well. 

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

Hello Manu,

 

You can refer 

Developing a PWM Interface using LabVIEW FPGA or PWM Output with LabVIEW FPGA

 

How this helps.

 

Best Regards, 

Hardik Asawa

AE

National Instruments 

 

Message Edited by Hardik Asawa on 05-05-2010 12:46 AM
0 Kudos
Message 2 of 2
(2,336 Views)