04-07-2016 04:45 PM
Hello,
I am using cDAQ 9184 chassis and NI 9401 as a digital output module. I need to generate a PWM so that my output signal can vary from 0 to 5V (By varying duty cycle of PWM). I did generate PWM using square wave present in the simulate signal block. But it provides an analog output. So, please suggest me some way to generate PWM at my digital output of NI9401 so that I can vary my output voltage.
Thank you
04-07-2016 06:49 PM
http://digital.ni.com/public.nsf/allkb/1561D31534F07D608625727900391114
Or better yet, use a counter from the cdaq
04-12-2016 03:46 AM - edited 04-12-2016 03:47 AM
Can you tell me how my NI 9401 is used as a counter?
Maybe a sample VI or some application example. My main aim is to get 0 to 5V variable output at one of the Digital output terminal . I chose option of using PWM for variable voltage.
05-01-2016 05:27 AM
Amplitude in this case is 1V max. Can you suggest me a way to convert it to 5V max
05-01-2016 12:50 PM
This sounds like an issue for the hardware side. Have you tried implementing a simple gain amplifier using an opamp?
05-01-2016 12:54 PM
05-01-2016 01:03 PM
Which example are you referring to?
05-01-2016 01:04 PM
05-01-2016 01:10 PM
You can't change the amplitude of the pulse using duty cycle alone. This is a digital approach you've referenced, which will have one of two levels. If you want 5V, you'll need additional hardware.