03-06-2014 09:55 PM
Hello,
I would like to create a PWM signal by comparing a Triangular wave of 4kHz with a Sine wave of 400Hz and the analog output is to be converter to a digital train of pulses which i would like to feed to a M series SCB-68 device for mosfet gating pulse.I have attached a figure depicting the problem.
03-07-2014 02:16 AM
Hi Adithya,
and what is your problem? All you wrote is "I would like to…"!
Start with coding, then ask for specific problems.
Hint:
This seems to be an exercise topic given to several students as I have seen similar questions in the last days. Maybe you do some forum search and look what other people have tried so far?
03-07-2014 03:22 AM - edited 03-07-2014 03:24 AM
Hi,
Sorry for not including the VI. Also i am facing issues with DAQ assist. How shall i connect the subtracted wave which is analog to digital and get it on the M series device. Also I have done some readthrough on the diffferent ways of generating PWM. But I would like to try in this way. Is is possible using DAQ assist
03-07-2014 03:25 AM
Hi Adithya,
instead of subtracting the waveforms you might use a simple "greater than" comparison which already results in a boolean signal.
To "get that on the M series device" you should use DAQmx functions…
Btw. the SC68 is just a connector box. What kind of device you really are working with?