02-14-2006 10:12 PM
02-15-2006 02:33 AM
Hi bkk,
When you say you want to create a PWM signal, do you mean you want to output a varying voltage on some AO hardware? What do you mean by "I have some signal", do you mean there's a sinusoidal-analog input - or does your program generate an array of values that, if graphed, would look like a sign-wave? Please be a bit more specific on exactly what your program needs to do! BTW, LabVIEW ships with an excellent set of Examples accessable via HELP - you may get some ideas if you search on "PWM".
Cheers.
02-15-2006 06:28 AM
02-15-2006 11:05 PM - edited 02-15-2006 11:05 PM
Hi bkk,
HELP
Find Examples
Search: "PWM"
BTW, How do you convert a sine-wave to a pulse of varying width? Does input amplitude translate to output percent-ON?
Cheers.
Message Edited by Dynamik on 02-15-2006 11:08 PM
02-16-2006 03:41 AM
02-16-2006 07:56 PM
Hi bkk,
How do you plan to convert a sine-wave to a pulse of varying width? - Does input amplitude translate to output percent-ON?
04-27-2012 03:41 AM
how to generate pwm via ni usb-6008...
04-27-2012 12:38 PM
The USB-6008 is low-end hardware and cannot generate a PWM signal in hardware, so you will have to do it in software which will not provide consistent timing at high frequencies. You can use code like this: http://forums.ni.com/t5/LabVIEW/PID-Control-analog-input-digital-outputs/m-p/1608092#M583527. You will probably want to write to convert the square wave to a boolean (digital signal) by checking if it's greater than 0.
03-05-2016 05:34 AM
hello friends
I want to generate a PWM of constant frequency ( 140 Hz ) and variable duty cycle ( 5% to 95% )
from hardware side I have cRIO 9014 and a NI 9474 module..
I need to know which approach to go with I mean is it possible in RT or FPGA...
if any one has a vi or share the snapshot...
04-13-2016 01:21 PM
hi... i am facing the same problem....did u found the solution for your question???
thanks and regards
chandrasekar