07-27-2015 10:31 PM
I use crio-9024 to general pwm signal.When the frequence is low(actually less than 10hz), it works fine. But, when the frequence is higher than 10hz, the pwm signal will be not accurracy. Worse more, when I set the frequence to 100hz, it will generate 10 hz signal.Hope somebody can help me!
07-27-2015 11:47 PM
this is the program
07-28-2015 01:31 AM
07-28-2015 01:44 AM
Yes,it is a picture.Here is the code in the attachment.Would you give me some advice?
07-29-2015 12:20 AM
see if your digital output card supports PWM specialty digital mode, you dont need to roll your own PWM. Also the timed loop should be synchronized to scan engine
08-02-2015 10:37 AM
08-02-2015 10:39 AM
Program Files (x86)\National Instruments\LabVIEW 2014\examples\CompactRIO\FPGA Fundamentals\Counters\PWM Generation
08-03-2015 07:38 AM